version 1.7 | | version 1.8 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.7 2000/05/29 16:31:26 jec Exp $"; | | * "$Id: skills.c,v 1.8 2000/06/09 12:01:47 jec Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
"The %s sticks to your hand!",query_name(tmp)); | | "The %s sticks to your hand!",query_name(tmp)); |
tmp = NULL; | | tmp = NULL; |
} else { | | } else { |
tag_t tag = tmp->count; | | if (apply_special (op, tmp, AP_UNAPPLY | AP_NO_MERGE)) { |
player_apply (op, tmp, AP_UNAPPLY, 0); | | |
if (was_destroyed (tmp, tag)) { | | |
tmp = NULL; | | |
} else if (QUERY_FLAG (tmp, FLAG_APPLIED)) { | | |
LOG (llevError, "BUG: find_throw_ob(): couldn't unapply\n"); | | LOG (llevError, "BUG: find_throw_ob(): couldn't unapply\n"); |
tmp = NULL; | | tmp = NULL; |
} | | } |