1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

quitsaves() depends on CAP_SAVE, not havesave

This commit is contained in:
Zeno Rogue 2019-04-29 03:38:47 +02:00
parent e22602e343
commit cf4829634f

View File

@ -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;