Record crossbow reload time in savefile.
This commit is contained in:
parent
e840e39ba0
commit
1f2692a4fb
|
@ -444,7 +444,7 @@ EX namespace scores {
|
||||||
/** \brief the amount of boxes reserved for each hr::score item */
|
/** \brief the amount of boxes reserved for each hr::score item */
|
||||||
#define MAXBOX 500
|
#define MAXBOX 500
|
||||||
/** \brief currently used boxes in hr::score */
|
/** \brief currently used boxes in hr::score */
|
||||||
#define POSSCORE 410
|
#define POSSCORE 411
|
||||||
/** \brief a struct to keep local score from an earlier game */
|
/** \brief a struct to keep local score from an earlier game */
|
||||||
struct score {
|
struct score {
|
||||||
/** \brief version used */
|
/** \brief version used */
|
||||||
|
@ -947,6 +947,8 @@ EX void applyBoxes() {
|
||||||
applyBoxOrb(itOrbFish);
|
applyBoxOrb(itOrbFish);
|
||||||
list_invorb();
|
list_invorb();
|
||||||
|
|
||||||
|
applyBoxNum(items[itCrossbow]);
|
||||||
|
|
||||||
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
|
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
|
||||||
if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); }
|
if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue