Added numerous NPC checks to PRF checks and fixed nogos/nowiz in who. --Rumble

This commit is contained in:
Rumble 2007-05-11 01:16:30 +00:00
parent f89d806fc2
commit 76d1d89597
5 changed files with 13 additions and 13 deletions

View file

@ -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);