act_comm.c.patch
./rom24mp/act_comm.c.patch · 862 B
From the archive MobProgs2_4.tar.gz
Download the archive « Back to the archive contents
750a751,762
>
> if ( !IS_NPC(ch) )
> {
> CHAR_DATA *mob, *mob_next;
> for ( mob = ch->in_room->people; mob != NULL; mob = mob_next )
> {
> mob_next = mob->next_in_room;
> if ( IS_NPC(mob) && HAS_TRIGGER( mob, TRIG_SPEECH )
> && mob->position == mob->pIndexData->default_pos )
> mp_act_trigger( argument, mob, ch, NULL, NULL, TRIG_SPEECH );
> }
> }
890a903,905
> if ( !IS_NPC(ch) && IS_NPC(victim) && HAS_TRIGGER(victim,TRIG_SPEECH) )
> mp_act_trigger( argument, victim, ch, NULL, NULL, TRIG_SPEECH );
>
1015a1031
> MOBtrigger = FALSE;
1017a1034
> MOBtrigger = TRUE;
1049a1067
> MOBtrigger = FALSE;
1050a1069
> MOBtrigger = TRUE;
1099a1119
> MOBtrigger = FALSE;
1100a1121
> MOBtrigger = TRUE;
1617c1638
< if (!str_cmp(arg2,"delete"))
---
> if (!str_cmp(arg2,"delete") || !str_cmp(arg2,"mob"))