mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-21 16:14:49 +00:00
make the "switch ghost timer" cheat display shmup::curtime instead of turn count in shmup
This commit is contained in:
10
debug.cpp
10
debug.cpp
@@ -246,8 +246,14 @@ vector<cheatkey> cheats = {
|
||||
cheatkey{'G'-64, "switch ghost timer", [] {
|
||||
timerghost = !timerghost;
|
||||
cheater++;
|
||||
addMessage(XLAT("turn count = %1 last exploration = %2 ghost timer = %3",
|
||||
its(turncount), its(lastexplore), ONOFF(timerghost)));
|
||||
if(shmup::on) {
|
||||
addMessage(XLAT("in-game time = %1 last exploration = %2 ghost timer = %3",
|
||||
its(shmup::curtime), its(lastexplore), ONOFF(timerghost)));
|
||||
}
|
||||
else {
|
||||
addMessage(XLAT("turn count = %1 last exploration = %2 ghost timer = %3",
|
||||
its(turncount), its(lastexplore), ONOFF(timerghost)));
|
||||
}
|
||||
}},
|
||||
cheatkey{'G', "edit cell values", push_debug_screen},
|
||||
cheatkey{'L'-64, "cell info", [] {
|
||||
|
||||
Reference in New Issue
Block a user