From 08a774dfd469e5a852ca12249ba022e718c85e2f Mon Sep 17 00:00:00 2001 From: Jacob Mandelson Date: Sat, 17 Feb 2024 20:48:58 -0800 Subject: [PATCH] Record Orb of Fish in savefile. --- system.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/system.cpp b/system.cpp index 1fbdb837..eb615d40 100644 --- a/system.cpp +++ b/system.cpp @@ -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); } }