SW: Don't process input at frame rate if ScrollMode2D is true.

- ScrollMode2D was running at the frame rate, turning off vsync made it unacceptable.
This commit is contained in:
Mitchell Richters 2020-04-07 00:56:07 +10:00 committed by Christoph Oelckers
parent b801a73db9
commit 1aa1e62c4d

View file

@ -2574,8 +2574,9 @@ void RunLevel(void)
}
}
if (!ScrollMode2D)
getinput(myconnectindex);
getinput(myconnectindex);
drawscreen(Player + screenpeek);
if (QuitFlag)
@ -3087,7 +3088,7 @@ void getinput(int const playerNum)
// If in 2D follow mode, scroll around.
if (ScrollMode2D && !Prediction)
{
keymove = keymove / 6;
keymove = keymove / 2;
if (M_Active())
return;