- handle the run key.

This commit is contained in:
Christoph Oelckers 2020-08-29 00:57:07 +02:00
parent b9e0f493b2
commit fe7f3a2f9e
13 changed files with 38 additions and 62 deletions

View file

@ -360,6 +360,8 @@ void ApplyGlobalInput(InputPacket& input, ControlInfo *info)
if (g_gameType & GAMEFLAG_BLOOD) buttonMap.ClearButton(gamefunc_Open);
input.actions |= SB_OPEN;
}
if (G_CheckAutorun(buttonMap.ButtonDown(gamefunc_Run)))
input.actions |= SB_RUN;
}