version 1.169 | | version 1.170 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.169 2006/06/05 06:28:56 mwedel Exp $"; | | * "$Id: apply.c,v 1.170 2006/07/02 15:32:35 tchize Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
* some sense. | | * some sense. |
*/ | | */ |
strcpy(item_name, item->name); | | strcpy(item_name, item->name); |
if (who == is_player_inv(item)) is_player_env=1; | | if (who == get_player_container(item)) is_player_env=1; |
| | |
save_throw_object(item,AT_FIRE,who); | | save_throw_object(item,AT_FIRE,who); |
/* Change to check count and not freed, since the object pointer | | /* Change to check count and not freed, since the object pointer |