Record the amount of revolver ammunition in save file.

This commit is contained in:
Jacob Mandelson 2024-02-27 21:30:33 -08:00
parent 1f2692a4fb
commit a626ede2bf
1 changed files with 2 additions and 1 deletions

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