2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-24 18:59:26 +01:00

Fix missing #if for joystick declarations

This commit is contained in:
Roman Chistokhodov 2024-03-12 01:50:38 +03:00 committed by Andrey Akhmichin
parent a45fd09476
commit fbe839d33e

View File

@ -249,8 +249,10 @@ DWORD joy_numbuttons;
SDL_GameController *s_pJoystick = NULL;
#if XASH_WIN32
DWORD joy_flags;
static JOYINFOEX ji;
#endif
// none of these cvars are saved over a session
// this means that advanced controller configuration needs to be executed