From cf4829634f5f19c4125f5e5562d73d22a74fc02f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 29 Apr 2019 03:38:47 +0200 Subject: [PATCH] quitsaves() depends on CAP_SAVE, not havesave --- quit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quit.cpp b/quit.cpp index 570e3dd3..2cb3bad3 100644 --- a/quit.cpp +++ b/quit.cpp @@ -3,7 +3,7 @@ namespace hr { -bool quitsaves() { return (items[itOrbSafety] && havesave && !archimedean); } +bool quitsaves() { return (items[itOrbSafety] && CAP_SAVE && !archimedean); } bool needConfirmationEvenIfSaved() { return canmove && (gold() >= 30 || tkills() >= 50) && !cheater;