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:
parent
e22602e343
commit
cf4829634f
2
quit.cpp
2
quit.cpp
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
namespace hr {
|
namespace hr {
|
||||||
|
|
||||||
bool quitsaves() { return (items[itOrbSafety] && havesave && !archimedean); }
|
bool quitsaves() { return (items[itOrbSafety] && CAP_SAVE && !archimedean); }
|
||||||
|
|
||||||
bool needConfirmationEvenIfSaved() {
|
bool needConfirmationEvenIfSaved() {
|
||||||
return canmove && (gold() >= 30 || tkills() >= 50) && !cheater;
|
return canmove && (gold() >= 30 || tkills() >= 50) && !cheater;
|
||||||
|
Loading…
Reference in New Issue
Block a user