- fixed: noclip2 should only set some minimal velocity if the player has none.

This commit is contained in:
Christoph Oelckers 2016-01-31 22:38:08 +01:00
parent 8068fca601
commit a1cd0401e4
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ void cht_DoCheat (player_t *player, int cheat)
player->cheats &= ~CF_NOCLIP;
msg = GStrings("STSTR_NCOFF");
}
player->mo->velx = 1; // force some lateral movement so that internal variables are up to date
if (player->mo->velx == 0) player->mo->velx = 1; // force some lateral movement so that internal variables are up to date
break;
case CHT_NOVELOCITY: