version 1.55 | | version 1.56 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.55 2002/02/06 05:54:46 mwedel Exp $"; | | * "$Id: apply.c,v 1.56 2002/02/08 15:07:45 avogl Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
return 0; /* monsters just skip unpaid items */ | | return 0; /* monsters just skip unpaid items */ |
} | | } |
} | | } |
| | |
| | /* monsters mustn't apply random chests */ |
| | if (op->type != PLAYER && tmp->type == TREASURE) |
| | return 0; |
| | |
#ifdef PLUGINS | | #ifdef PLUGINS |
/* GROS: Handle for plugin trigger event */ | | /* GROS: Handle for plugin trigger event */ |
if(tmp->event_hook[EVENT_APPLY] != NULL) | | if(tmp->event_hook[EVENT_APPLY] != NULL) |