foxygit / doom Log in
commit 37c1162fe81dbb6f297d7a89fb1c58a9dbe1d79e
Author:     James Haley <haleyjd@hotmail.com>
AuthorDate: Mon Jan 11 04:08:06 2016 -0600
Commit:     James Haley <haleyjd@hotmail.com>
CommitDate: Mon Jan 11 04:08:06 2016 -0600

    Rogue did change the gib health check after all, we misread the assembly about 100 times in a row (this stuff is hard)
---
 src/strife/p_inter.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/strife/p_inter.c b/src/strife/p_inter.c
index f2e16efb..689a63d4 100644
--- a/src/strife/p_inter.c
+++ b/src/strife/p_inter.c
@@ -874,7 +874,8 @@ void P_KillMobj(mobj_t* source, mobj_t* target)
             P_SetMobjState(target, S_DISR_00);  // 373
         else
         {
-            if(target->health < -target->info->spawnhealth
+            // haleyjd [STRIFE] 20160111: Rogue changed check from < to <=
+            if(target->health <= -target->info->spawnhealth
                 && target->info->xdeathstate)
                 P_SetMobjState(target, target->info->xdeathstate);
             else