version 1.16 | | version 1.17 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.16 2000/10/19 08:20:29 peterm Exp $"; | | * "$Id: attack.c,v 1.17 2000/10/31 12:04:58 peterm Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if(settings.debug >= llevDebug) { | | if(settings.debug >= llevDebug) { |
dump_object(op); | | dump_object(op); |
LOG(llevDebug,"Object without name tried to attack.\n%s\n",errmsg); | | LOG(llevDebug,"Object without name tried to attack.\n%s\n",errmsg); |
| | /* we don't NEED to print this a zillion times, so GIVE IT A NAME. */ |
| | op->name = add_string(op->arch->name); |
| | |
} | | } |
if (QUERY_FLAG(op, FLAG_REMOVED) && !QUERY_FLAG(op, FLAG_FREED)) | | if (QUERY_FLAG(op, FLAG_REMOVED) && !QUERY_FLAG(op, FLAG_FREED)) |
free_object(op); | | free_object(op); |