summaryrefslogtreecommitdiff
path: root/src/strife/p_enemy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/p_enemy.c')
-rw-r--r--src/strife/p_enemy.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c
index a96d8557..acae8479 100644
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -329,12 +329,18 @@ boolean P_Move (mobj_t* actor)
}
else
{
- actor->flags &= ~MF_INFLOAT;
+ actor->flags &= ~(MF_INFLOAT|MF_FEETCLIPPED); // villsa [STRIFE]
+
+ // villsa [STRIFE]
+ if(P_GetTerrainType(actor) != FLOOR_SOLID)
+ actor->flags |= MF_FEETCLIPPED;
}
-
- if (! (actor->flags & MF_FLOAT) )
- actor->z = actor->floorz;
+
+ // villsa [STRIFE] TODO - verify
+ /*if (! (actor->flags & MF_FLOAT) )
+ actor->z = actor->floorz;*/
+
return true;
}