mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Initialise y-axis for the deadzone function
This commit is contained in:
parent
329eae3ee3
commit
f2b706aa2f
1 changed files with 1 additions and 0 deletions
|
|
@ -925,6 +925,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
||||||
turnleft = PlayerInputDown(ssplayer, gc_turnleft);
|
turnleft = PlayerInputDown(ssplayer, gc_turnleft);
|
||||||
|
|
||||||
joystickvector.xaxis = PlayerJoyAxis(ssplayer, AXISTURN);
|
joystickvector.xaxis = PlayerJoyAxis(ssplayer, AXISTURN);
|
||||||
|
joystickvector.yaxis = 0;
|
||||||
G_HandleAxisDeadZone(forplayer, &joystickvector);
|
G_HandleAxisDeadZone(forplayer, &joystickvector);
|
||||||
|
|
||||||
// For kart, I've turned the aim axis into a digital axis because we only
|
// For kart, I've turned the aim axis into a digital axis because we only
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue