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
1 changed files with 2 additions and 0 deletions

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