ref: d95111bc5c481f7ccd155d8a8d8064d81b0180ac
parent: d1fc5eb5e8e11fa231383a2aa02d275429b06dfa
author: Samuel Villareal <[email protected]>
date: Mon Sep 6 19:26:39 EDT 2010
+ Corrected some mistakes in P_ZMovement Subversion-branch: /branches/strife-branch Subversion-revision: 2028
--- a/src/strife/p_mobj.c
+++ b/src/strife/p_mobj.c
@@ -350,7 +350,7 @@
// villsa [STRIFE] get terrain type
if(P_GetTerrainType(mo) != FLOOR_SOLID)
- mo->flags &= ~MF_FEETCLIPPED;
+ mo->flags &= ~MF_BOUNCE;
}
if (mo->momz < 0)
@@ -392,12 +392,7 @@
if ( (mo->flags & MF_MISSILE)
&& !(mo->flags & (MF_NOCLIP|MF_BOUNCE)) )
{
- // villsa [STRIFE] check against skies
- if(mo->subsector->sector->ceilingpic == skyflatnum)
- P_RemoveMobj(mo);
- else
- P_ExplodeMissile (mo);
-
+ P_ExplodeMissile (mo);
return;
}
}