- fixed: When changing 'noclip2' some minor lateral velocity should be set to ensure that all internal variables contain proper values.

This commit is contained in:
Christoph Oelckers 2016-01-29 11:11:10 +01:00
commit f8d5430c06
2 changed files with 2 additions and 1 deletions

View file

@ -136,6 +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
break;
case CHT_NOVELOCITY: