1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-14 10:08:06 +00:00

added missing CAP_COMMANDLINE guards

This commit is contained in:
Zeno Rogue
2020-04-06 08:38:05 +02:00
parent 9a84dfb497
commit 1b9cdab98c
5 changed files with 12 additions and 2 deletions

View File

@@ -557,6 +557,7 @@ EX void viewall() {
}
}
#if CAP_COMMANDLINE
/** perform a move for the -cmove command */
int cheat_move_gen = 7;
@@ -582,6 +583,7 @@ void cheat_move(char c) {
else if(c == 'g') cheat_move_gen = -1;
else println(hlog, "unknown move command: ", c);
}
#endif
/** launch a debugging screen, and continue normal working only after this screen is closed */
EX void modalDebug(cell *c) {