Skip to content

Commit

Permalink
Doom: Reverted changes to mobj movement for floating enemies
Browse files Browse the repository at this point in the history
We now know this issue is caused by something else.
  • Loading branch information
danij-deng committed Feb 19, 2012
1 parent 017dd20 commit 99efc79
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions doomsday/plugins/jdoom/src/p_enemy.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 99efc79

Please sign in to comment.