mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-24 14:31:02 +00:00
Use kinda counter-intuitive ternary operator to hack in a check for "use" for 2.2 compatibility
This commit is contained in:
parent
a59c03fefe
commit
7c3a565709
1 changed files with 3 additions and 1 deletions
|
|
@ -996,7 +996,9 @@ static void setcontrol(INT32 (*gc)[2])
|
|||
INT32 player = ((void*)gc == (void*)&gamecontrolbis ? 1 : 0);
|
||||
boolean nestedoverride = false;
|
||||
|
||||
namectrl = COM_Argv(1);
|
||||
// Update me for 2.3
|
||||
namectrl = (stricmp(COM_Argv(1), "use")) ? COM_Argv(1) : "spin";
|
||||
|
||||
for (numctrl = 0; numctrl < num_gamecontrols && stricmp(namectrl, gamecontrolname[numctrl]);
|
||||
numctrl++)
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue