shithub: choc

Download patch

ref: 2016bb4f4b3c00b6d037727d0a5f4e7e6847fc0b
parent: fe1629972adbd40f9e33a514879aea06450e97e1
author: Samuel Villareal <svkaiser@gmail.com>
date: Sun Sep 12 23:25:23 EDT 2010

+ Fix for flaming death in P_KillMobj
+ Attackdistance fix for A_FireMauler1

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

--- a/src/strife/p_inter.c
+++ b/src/strife/p_inter.c
@@ -727,7 +727,7 @@
     }
 
     // villsa [STRIFE] some modifications to setting states
-    if(target->state != &states[S_BLST_23]) // 1860 / 20
+    if(target->state != &states[S_BURN_23])
     {
         if(target->health == -6666)
             P_SetMobjState(target, S_DISR_00);  // 373
--- a/src/strife/p_pspr.c
+++ b/src/strife/p_pspr.c
@@ -727,7 +727,7 @@
             damage = 5*(P_Random ()%3+1);
             angle = player->mo->angle;
             angle += (P_Random()-P_Random())<<19;
-            P_LineAttack(player->mo, angle, MISSILERANGE,
+            P_LineAttack(player->mo, angle, (2112*FRACUNIT),
                 bulletslope + ((P_Random()-P_Random())<<5), damage);
         }
     }