version 1.25 | | version 1.26 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.25 2001/06/13 12:51:58 michtoen Exp $"; | | * "$Id: monster.c,v 1.26 2001/06/29 05:59:46 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(npc->script_say != NULL) | | if(npc->script_say != NULL) |
{ | | { |
guile_call_event(op, npc, NULL, 0, txt,0,0,npc->script_say, SCRIPT_FIX_ALL); | | guile_call_event(op, npc, NULL, 0, txt,0,0,npc->script_say, SCRIPT_FIX_ALL); |
return; | | return 0; |
}; | | } |
if (npc->script_str_say !=NULL) | | if (npc->script_str_say !=NULL) |
{ | | { |
guile_call_event_str(op,npc,NULL,0,txt,0,0,npc->script_str_say, SCRIPT_FIX_ALL); | | guile_call_event_str(op,npc,NULL,0,txt,0,0,npc->script_str_say, SCRIPT_FIX_ALL); |
}; | | } |
| | |
if(npc->msg == NULL || *npc->msg != '@') | | if(npc->msg == NULL || *npc->msg != '@') |
return 0; | | return 0; |