… | |
… | |
1771 | if (!QUERY_FLAG (op, FLAG_ALIVE) || op->stats.hp < 0) |
1771 | if (!QUERY_FLAG (op, FLAG_ALIVE) || op->stats.hp < 0) |
1772 | { |
1772 | { |
1773 | /* FIXME: If a player is killed by a rune in a door, the |
1773 | /* FIXME: If a player is killed by a rune in a door, the |
1774 | * destroyed() check above doesn't return, and might get here. |
1774 | * destroyed() check above doesn't return, and might get here. |
1775 | */ |
1775 | */ |
1776 | LOG (llevDebug, "victim (arch %s, name %s) already dead in " "hit_player()\n", &op->arch->name, &op->name); |
1776 | LOG (llevDebug, "victim %s already dead in " "hit_player()\n", op->debug_desc ()); |
1777 | return 0; |
1777 | return 0; |
1778 | } |
1778 | } |
1779 | |
1779 | |
1780 | #ifdef ATTACK_DEBUG |
1780 | #ifdef ATTACK_DEBUG |
1781 | LOG (llevDebug, "hit player: attacktype %d, dam %d\n", type, dam); |
1781 | LOG (llevDebug, "hit player: attacktype %d, dam %d\n", type, dam); |