From 99efc793457bca3a8cf246ec0dbd8014e79ef78e Mon Sep 17 00:00:00 2001 From: danij Date: Sun, 19 Feb 2012 10:49:46 +0000 Subject: [PATCH] Doom: Reverted changes to mobj movement for floating enemies We now know this issue is caused by something else. --- doomsday/plugins/jdoom/src/p_enemy.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/doomsday/plugins/jdoom/src/p_enemy.c b/doomsday/plugins/jdoom/src/p_enemy.c index 9f26e1e094..d9817040d8 100644 --- a/doomsday/plugins/jdoom/src/p_enemy.c +++ b/doomsday/plugins/jdoom/src/p_enemy.c @@ -221,17 +221,8 @@ static boolean moveMobj(mobj_t *actor, boolean dropoff) else actor->pos[VZ] -= FLOATSPEED; - // What if we just floated into another mobj? - if(P_CheckPosition3fv(actor, actor->pos)) - { - // Looks ok: floated to an unoccupied spot. - actor->flags |= MF_INFLOAT; - } - else - { - // Let's not do this; undo the float. - actor->pos[VZ] = oldZ; - } + // What if we just floated into another mobj?? + actor->flags |= MF_INFLOAT; return true; }