Skip to content

Commit

Permalink
Fixed (jDoom) even when flying the player should loose all momentum e…
Browse files Browse the repository at this point in the history
…ventually.
  • Loading branch information
danij committed Feb 21, 2009
1 parent e177ac7 commit 4534a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/plugins/jdoom/src/p_mobj.c
Expand Up @@ -322,7 +322,7 @@ void P_MobjMoveXY(mobj_t *mo)
if(mo->flags & (MF_MISSILE | MF_SKULLFLY))
return; // No friction for missiles ever.

if(mo->pos[VZ] > mo->floorZ && !mo->onMobj /*&& !(mo->flags2 & MF2_FLY)*/)
if(mo->pos[VZ] > mo->floorZ && !mo->onMobj && !(mo->flags2 & MF2_FLY))
return; // No friction when falling.

if(cfg.slidingCorpses)
Expand Down

0 comments on commit 4534a73

Please sign in to comment.