1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

Record crossbow reload time in savefile.

This commit is contained in:
Jacob Mandelson 2024-02-26 17:17:38 -08:00
parent e840e39ba0
commit 1f2692a4fb

View File

@ -444,7 +444,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 410
#define POSSCORE 411
/** \brief a struct to keep local score from an earlier game */
struct score {
/** \brief version used */
@ -947,6 +947,8 @@ EX void applyBoxes() {
applyBoxOrb(itOrbFish);
list_invorb();
applyBoxNum(items[itCrossbow]);
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); }
}