mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-11 10:34:20 +01:00
Added numerous NPC checks to PRF checks and fixed nogos/nowiz in who. --Rumble
This commit is contained in:
parent
f89d806fc2
commit
76d1d89597
5 changed files with 13 additions and 13 deletions
2
src/db.c
2
src/db.c
|
|
@ -2568,7 +2568,7 @@ int is_empty(zone_rnum zone_nr)
|
|||
continue;
|
||||
/* If an immortal has nohassle off, he counts as present. Added for testing
|
||||
* zone reset triggers -Welcor */
|
||||
if ((GET_LEVEL(i->character) >= LVL_IMMORT) && (PRF_FLAGGED(i->character, PRF_NOHASSLE)))
|
||||
if ((!IS_NPC(i->character)) && (GET_LEVEL(i->character) >= LVL_IMMORT) && (PRF_FLAGGED(i->character, PRF_NOHASSLE)))
|
||||
continue;
|
||||
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue