1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

LB_PRINCESS instead of magic value 36

This commit is contained in:
Zeno Rogue 2024-05-08 21:23:11 +02:00
parent 000bfd4b97
commit 5eb7cfc17a
2 changed files with 5 additions and 2 deletions

View File

@ -86,9 +86,12 @@ EX const char* leadernames[NUMLEADER] = {
"Crossbow (geometric)", // 89
};
#if HDR
#define LB_PRINCESS 36
#define LB_STATISTICS 62
#define LB_HALLOWEEN 63
#define LB_HALLOWEEN 63
#define LB_RACING 81
#endif
EX bool haveLeaderboard(int id);
EX int get_currentscore(int id);

View File

@ -648,7 +648,7 @@ struct info {
if(newdist == OUT_OF_PRISON && princess::challenge) {
addMessage(XLAT("Congratulations! Your score is %1.", its(i->value)));
achievement_gain_once("PRINCESS2", rg::princess);
if(!cheater) achievement_score(36, i->value);
if(!cheater) achievement_score(LB_PRINCESS, i->value);
LATE( showMissionScreen(); )
}
}