1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 00:17:39 +00:00

added some missing guards

This commit is contained in:
Zeno Rogue
2025-06-22 15:41:43 +02:00
parent d4bb23b8eb
commit 537a3b8779
10 changed files with 49 additions and 6 deletions

View File

@@ -1087,8 +1087,10 @@ EX void mainloopiter() {
#if CAP_SDLJOY
if(joydir.d != -1) checkjoy();
#if CAP_THREAD
if(joystick_done && joythread) { joythread->join(); delete joythread; joystick_done = false; }
#endif
#endif
}
EX bool need_refresh;