- transmit the actual run mode in BT_RUN, because BT_SPEED was poorly designed.

This commit is contained in:
Christoph Oelckers 2020-09-26 22:26:26 +02:00
commit 399388d177
3 changed files with 5 additions and 0 deletions

View file

@ -691,6 +691,7 @@ void G_BuildTiccmd (ticcmd_t *cmd)
if (buttonMap.ButtonDown(Button_MoveDown)) cmd->ucmd.buttons |= BT_MOVEDOWN;
if (buttonMap.ButtonDown(Button_MoveUp)) cmd->ucmd.buttons |= BT_MOVEUP;
if (buttonMap.ButtonDown(Button_ShowScores)) cmd->ucmd.buttons |= BT_SHOWSCORES;
if (speed) cmd->ucmd.buttons |= BT_RUN;
// Handle joysticks/game controllers.
float joyaxes[NUM_JOYAXIS];