mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-13 08:06:13 +01:00
- Removed MOBprograms, fixed trg/index a few typos and some bleeding, added ALL_PERMISSIONS, --Rumble
This commit is contained in:
parent
8508dc476a
commit
916281ecb0
14 changed files with 37 additions and 600 deletions
|
|
@ -394,7 +394,13 @@ int can_edit_zone(struct char_data *ch, zone_rnum rnum)
|
|||
if (!ch->desc || IS_NPC(ch) || rnum == NOWHERE)
|
||||
return FALSE;
|
||||
|
||||
if (rnum == HEDIT_PERMISSION)
|
||||
if (GET_OLC_ZONE(ch) == ALL_PERMISSION)
|
||||
return TRUE;
|
||||
|
||||
if (GET_OLC_ZONE(ch) == HEDIT_PERMISSION && rnum == HEDIT_PERMISSION)
|
||||
return TRUE;
|
||||
|
||||
if (GET_OLC_ZONE(ch) == AEDIT_PERMISSION && rnum == AEDIT_PERMISSION)
|
||||
return TRUE;
|
||||
|
||||
/* always access if ch is high enough level */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue