mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-16 19:52:27 +00:00
Potentially fix spectators floating when inputting right on the analog stick.
This commit is contained in:
parent
59f7e094a9
commit
969164cfd1
1 changed files with 1 additions and 0 deletions
|
|
@ -1380,6 +1380,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
|||
|
||||
if (player->spectator || objectplacing) // SRB2Kart: spectators need special controls
|
||||
{
|
||||
axis = JoyAxis(AXISMOVE, ssplayer);
|
||||
if (InputDown(gc_accelerate, ssplayer) || (usejoystick && axis > 0))
|
||||
cmd->buttons |= BT_ACCELERATE;
|
||||
if (InputDown(gc_brake, ssplayer) || (usejoystick && axis > 0))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue