mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- Fixed: The lookup and lookdown buttons should set LocalKeyboardTurner so that the pitch
change is interpolated. SVN r3595 (trunk)
This commit is contained in:
parent
3523e4f24a
commit
8632c0db04
1 changed files with 6 additions and 0 deletions
|
@ -580,9 +580,15 @@ void G_BuildTiccmd (ticcmd_t *cmd)
|
|||
}
|
||||
|
||||
if (Button_LookUp.bDown)
|
||||
{
|
||||
G_AddViewPitch (lookspeed[speed]);
|
||||
LocalKeyboardTurner = true;
|
||||
}
|
||||
if (Button_LookDown.bDown)
|
||||
{
|
||||
G_AddViewPitch (-lookspeed[speed]);
|
||||
LocalKeyboardTurner = true;
|
||||
}
|
||||
|
||||
if (Button_MoveUp.bDown)
|
||||
fly += flyspeed[speed];
|
||||
|
|
Loading…
Reference in a new issue