shithub: choc

Download patch

ref: 37c1162fe81dbb6f297d7a89fb1c58a9dbe1d79e
parent: 3b7f8c554fe6772bab1e6a0b0d341b1a6b5d72b8
author: James Haley <haleyjd@hotmail.com>
date: Sun Jan 10 23:08:06 EST 2016

Rogue did change the gib health check after all, we misread the assembly about 100 times in a row (this stuff is hard)

--- a/src/strife/p_inter.c
+++ b/src/strife/p_inter.c
@@ -874,7 +874,8 @@
             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