summaryrefslogtreecommitdiff
path: root/src/strife/p_enemy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/p_enemy.c')
-rw-r--r--src/strife/p_enemy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c
index d073e84f..ac7c57ea 100644
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -3010,7 +3010,7 @@ void A_TeleportBeacon(mobj_t* actor)
fog = P_SpawnMobj(fog_x, fog_y, mobj->z, MT_TFOG);
S_StartSound(fog, sfx_telept);
- if((actor->health--) - 1 < 0)
+ if(--actor->health < 0)
P_RemoveMobj(actor);
}