version 1.154 | | version 1.155 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.154 2006/01/01 20:36:07 akirschbaum Exp $"; | | * "$Id: apply.c,v 1.155 2006/01/04 21:50:05 akirschbaum Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
new_draw_info (NDI_UNIQUE, 0, op, "You cannot read it anymore."); | | new_draw_info (NDI_UNIQUE, 0, op, "You cannot read it anymore."); |
return; | | return; |
} | | } |
| | |
| | if (!QUERY_FLAG(op, FLAG_WIZPASS)) |
sign->last_eat++; | | sign->last_eat++; |
} | | } |
| | |
| | |
static int recursion_depth = 0; | | static int recursion_depth = 0; |
| | |
/* Only exits affect DMs. */ | | /* Only exits affect DMs. */ |
if (QUERY_FLAG(victim, FLAG_WIZPASS) && trap->type != EXIT) | | if (QUERY_FLAG(victim, FLAG_WIZPASS) && trap->type != EXIT && trap->type != SIGN) |
return; | | return; |
| | |
/* move_apply() is the most likely candidate for causing unwanted and | | /* move_apply() is the most likely candidate for causing unwanted and |