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

added some missing guards for CAP_RACING and CAP_COMMANDLINE

This commit is contained in:
Zeno Rogue
2022-07-12 13:19:18 +02:00
parent de5e0505a3
commit ff16f35e0b
4 changed files with 22 additions and 0 deletions

View File

@@ -753,6 +753,7 @@ EX void initConfig() {
}
EX void get_actions() {
#if !ISMOBILE
const Uint8 *keystate = SDL12_GetKeyState(NULL);
for(int i=0; i<NUMACT; i++)
@@ -787,6 +788,7 @@ EX void get_actions() {
axespressed[scfg.axeaction[j][b] % SHMUPAXES] += value;
}
}
#endif
#endif
}