mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +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)
|
if (Button_LookUp.bDown)
|
||||||
|
{
|
||||||
G_AddViewPitch (lookspeed[speed]);
|
G_AddViewPitch (lookspeed[speed]);
|
||||||
|
LocalKeyboardTurner = true;
|
||||||
|
}
|
||||||
if (Button_LookDown.bDown)
|
if (Button_LookDown.bDown)
|
||||||
|
{
|
||||||
G_AddViewPitch (-lookspeed[speed]);
|
G_AddViewPitch (-lookspeed[speed]);
|
||||||
|
LocalKeyboardTurner = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (Button_MoveUp.bDown)
|
if (Button_MoveUp.bDown)
|
||||||
fly += flyspeed[speed];
|
fly += flyspeed[speed];
|
||||||
|
|
Loading…
Reference in a new issue