mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-07 22:49:54 +00:00
Merge pull request #360 from jlmjlm/oofishfix
Record Orb of Fish in savefile.
This commit is contained in:
commit
52081a916a
@ -443,7 +443,7 @@ EX namespace scores {
|
||||
/** \brief the amount of boxes reserved for each hr::score item */
|
||||
#define MAXBOX 500
|
||||
/** \brief currently used boxes in hr::score */
|
||||
#define POSSCORE 408
|
||||
#define POSSCORE 410
|
||||
/** \brief a struct to keep local score from an earlier game */
|
||||
struct score {
|
||||
/** \brief version used */
|
||||
@ -941,6 +941,9 @@ EX void applyBoxes() {
|
||||
applyBoxEnum(bow::weapon, "weapon choice");
|
||||
applyBoxEnum(bow::style, "crossbow style");
|
||||
|
||||
applyBoxOrb(itOrbFish);
|
||||
list_invorb();
|
||||
|
||||
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
|
||||
if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user