version 1.67 | | version 1.68 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.67 2002/05/07 05:27:36 mwedel Exp $"; | | * "$Id: attack.c,v 1.68 2002/05/14 06:47:44 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
* and filter out malicious player killers - that is why the | | * and filter out malicious player killers - that is why the |
* ip address is included. | | * ip address is included. |
*/ | | */ |
if (op->type == PLAYER) | | if (op->type == PLAYER && !battleg) { |
LOG(llevInfo,"PLAYER_KILL_PLAYER: %s (%s) killed %s\n", | | time_t t=time(NULL); |
owner->name, owner->contr->socket.host, query_name(op)); | | struct tm *tmv; |
| | char buf[256]; |
| | |
| | tmv = localtime(&t); |
| | strftime(buf, 256,"%a %b %d %H:%M:%S %Y", tmv); |
| | |
| | |
| | LOG(llevInfo,"%s PLAYER_KILL_PLAYER: %s (%s) killed %s\n", |
| | buf, owner->name, owner->contr->socket.host, query_name(op)); |
| | } |
| | |
/* This appears to be doing primitive filtering to only | | /* This appears to be doing primitive filtering to only |
* display the more interesting monsters. | | * display the more interesting monsters. |
*/ | | */ |