object.combat: Fix logic bug.