CAP_SAVE guards for casual

This commit is contained in:
Zeno Rogue committed 2021-06-03 13:26:10 +02:00
1 parent 0283eaa252
commit 0698336354
3 files changed
+6

No files matched your search

+2
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) {