mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-13 11: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
|
|
@ -2573,7 +2573,7 @@ char *act(const char *str, int hide_invisible, struct char_data *ch,
|
|||
char buf[MAX_STRING_LENGTH];
|
||||
|
||||
for (i = descriptor_list; i; i = i->next) {
|
||||
if (!i->connected && i->character &&
|
||||
if (!IS_NPC(i->character) && !i->connected && i->character &&
|
||||
!PRF_FLAGGED(i->character, PRF_NOGOSS) &&
|
||||
!PLR_FLAGGED(i->character, PLR_WRITING) &&
|
||||
!ROOM_FLAGGED(IN_ROOM(i->character), ROOM_SOUNDPROOF)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue