shithub: choc

Download patch

ref: 0d531f6108e585d6ea718d8ea4aef9a7aa5b9c72
parent: fc6385246c666b4e9a58ce17cf68a76d06bf03a2
author: Samuel Villareal <[email protected]>
date: Sat Sep 18 00:49:18 EDT 2010

+ A_TeleportBeacon done

Subversion-branch: /branches/strife-branch
Subversion-revision: 2103

--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -3010,7 +3010,7 @@
     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);
 }