version 1.151 | | version 1.152 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.151 2005/12/05 22:58:35 akirschbaum Exp $"; | | * "$Id: apply.c,v 1.152 2005/12/07 20:29:18 akirschbaum Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
} | | } |
} | | } |
| | |
if (QUERY_FLAG (op, FLAG_WAS_WIZ) && ! QUERY_FLAG (pl, FLAG_WAS_WIZ)) | | /* Check for PLAYER to avoid a DM to disappear in a puff of smoke if |
| | * applied. |
| | */ |
| | if (op->type != PLAYER && QUERY_FLAG (op, FLAG_WAS_WIZ) && ! QUERY_FLAG (pl, FLAG_WAS_WIZ)) |
{ | | { |
play_sound_map (pl->map, pl->x, pl->y, SOUND_OB_EVAPORATE); | | play_sound_map (pl->map, pl->x, pl->y, SOUND_OB_EVAPORATE); |
new_draw_info (NDI_UNIQUE, 0, pl, "The object disappears in a puff " | | new_draw_info (NDI_UNIQUE, 0, pl, "The object disappears in a puff " |