From fbe839d33eb78ac4b013921336359f9314946033 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Tue, 12 Mar 2024 01:50:38 +0300 Subject: [PATCH] Fix missing #if for joystick declarations --- cl_dll/input_goldsource.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cl_dll/input_goldsource.cpp b/cl_dll/input_goldsource.cpp index 68285866..4efe2779 100644 --- a/cl_dll/input_goldsource.cpp +++ b/cl_dll/input_goldsource.cpp @@ -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