mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
LB_PRINCESS instead of magic value 36
This commit is contained in:
parent
000bfd4b97
commit
5eb7cfc17a
@ -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);
|
||||
|
@ -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(); )
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user