- Fixed: The lookup and lookdown buttons should set LocalKeyboardTurner so that the pitch

change is interpolated.

SVN r3595 (trunk)
This commit is contained in:
Randy Heit 2012-04-26 02:41:58 +00:00
parent 3523e4f24a
commit 8632c0db04

View file

@ -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];