mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- fixed: noclip2 should only set some minimal velocity if the player has none.
This commit is contained in:
parent
8068fca601
commit
a1cd0401e4
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue