summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-04-27 18:05:08 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-04-27 18:05:08 +0200
commite74b8aaed02d29e93eb7454c4659a01728799da2 (patch)
tree71351cf15f662d1e9aeed484a01131a8b088526c
parent4d2aa957a4f7bcf3bbe789c78d2b244d20a774c8 (diff)
Infinite crystals cheat.
-rw-r--r--src/game/interface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp
index 5fc52f3..869d2c4 100644
--- a/src/game/interface.cpp
+++ b/src/game/interface.cpp
@@ -272,6 +272,11 @@ void state_t::tick(double dt)
debug_AI ^= 1;
print("debug_AI = " + std::to_string(debug_AI));
break;
+
+ case sf::Keyboard::Key::F12:
+ game->crystals = (size_t)-1;
+ print("INFINITE CRYSTALS\n");
+ break;
default:;
}
default:;