… | |
… | |
1435 | pk = 1; |
1435 | pk = 1; |
1436 | |
1436 | |
1437 | /* Player killed something */ |
1437 | /* Player killed something */ |
1438 | if (owner->type == PLAYER) |
1438 | if (owner->type == PLAYER) |
1439 | { |
1439 | { |
1440 | Log_Kill (owner->name, |
|
|
1441 | query_name (op), op->type, (owner != hitter) ? query_name (hitter) : NULL, (owner != hitter) ? hitter->type : 0); |
|
|
1442 | |
|
|
1443 | /* Log players killing other players - makes it easier to detect |
1440 | /* Log players killing other players - makes it easier to detect |
1444 | * and filter out malicious player killers - that is why the |
1441 | * and filter out malicious player killers - that is why the |
1445 | * ip address is included. |
1442 | * ip address is included. |
1446 | */ |
1443 | */ |
1447 | if (op->type == PLAYER && !battleg) |
1444 | if (op->type == PLAYER && !battleg) |