1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 19:18:05 +00:00

fixed the 4xStabber and Princess achievements

This commit is contained in:
Zeno Rogue
2021-02-04 16:15:47 +01:00
parent e7865a62b4
commit 0c0ca95897
4 changed files with 24 additions and 12 deletions

View File

@@ -634,10 +634,10 @@ struct info {
if(!inv::on || !inv::usedForbidden)
#endif
achievement_gain_once("PRINCESS1");
princess::saved = true;
princess::everSaved = true;
changes.value_set(princess::saved, true);
changes.value_set(princess::everSaved, true);
if(inv::on && !princess::reviveAt)
princess::reviveAt = gold(NO_LOVE);
changes.value_set(princess::reviveAt, gold(NO_LOVE));
items[itSavedPrincess]++;
}
if(newdist == OUT_OF_PRISON && princess::challenge) {