1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-11 06:45:59 +00:00

CAP_SAVE guards for casual

This commit is contained in:
Zeno Rogue
2021-06-01 10:10:13 +02:00
parent 0283eaa252
commit 0698336354
3 changed files with 6 additions and 0 deletions

View File

@@ -259,11 +259,13 @@ EX void teleportToLand(eLand l, bool make_it_safe) {
EX void activateSafety(eLand l) {
teleportToLand(l, true);
#if CAP_SAVE
if(casual) {
saveStats();
savecount++;
save_turns = turncount;
}
#endif
}
EX void placeGolem(cell *on, cell *moveto, eMonster m) {