summaryrefslogtreecommitdiff
path: root/src/strife/p_mobj.c
diff options
context:
space:
mode:
authorSamuel Villareal2010-09-07 03:16:54 +0000
committerSamuel Villareal2010-09-07 03:16:54 +0000
commitd112932e1efaa6588ed7276021847a28eb596900 (patch)
treebbce4aa0cbb620013e4d68fae1c438c125673db7 /src/strife/p_mobj.c
parentbdd800ded2c0e2df1b15372135b9cfd5901f6ecd (diff)
downloadchocolate-doom-d112932e1efaa6588ed7276021847a28eb596900.tar.gz
chocolate-doom-d112932e1efaa6588ed7276021847a28eb596900.tar.bz2
chocolate-doom-d112932e1efaa6588ed7276021847a28eb596900.zip
+ All linedef flags added
+ Translucent line/wall drawing supported + Jumpover/Blockfloater flag behavior implemented + Puff behavior implemented + Some changes to PIT_AttackRadius + Some changes to PIT_ChangeSector Subversion-branch: /branches/strife-branch Subversion-revision: 2030
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);
}
//