SW: Call FunctionKeys from getinput only if the latter is called

from faketimerhandler. This should fix the timing of playing an
RTS file's sound and sending the corresponding message.
This commit is contained in:
NY00123 2020-05-01 18:47:30 +03:00 committed by Christoph Oelckers
parent 75c76f073a
commit ab99b3b79d

View file

@ -3502,7 +3502,8 @@ getinput(SW_PACKET *loc, SWBOOL tied)
SinglePlayInput(pp);
#endif
FunctionKeys(pp);
if (!tied)
FunctionKeys(pp);
if (buttonMap.ButtonDown(gamefunc_Toggle_Crosshair))
{