summaryrefslogtreecommitdiff
path: root/src/strife/p_mobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/p_mobj.c')
-rw-r--r--src/strife/p_mobj.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/strife/p_mobj.c b/src/strife/p_mobj.c
index 79f6398d..3c9d1a69 100644
--- a/src/strife/p_mobj.c
+++ b/src/strife/p_mobj.c
@@ -961,18 +961,13 @@ P_SpawnPuff
th->momz = FRACUNIT;
th->tics -= P_Random()&3;
- // villsa [STRIFE] TODO - verify and update
- /*if(shootdist == (80*FRACUNIT))
- P_SetMobjState(th, S_POW2_00);*/
+ // don't make punches spark on the wall
+ if(attackrange == MELEERANGE)
+ P_SetMobjState(th, S_POW2_00);
// villsa [STRIFE] unused
/*if (th->tics < 1)
th->tics = 1;*/
-
- // don't make punches spark on the wall
- // villsa [STRIFE] TODO - proper puff state
- //if (attackrange == MELEERANGE)
- //P_SetMobjState (th, S_PUFF3);
}
//