Record fuel collected and space rocks killed.

This commit is contained in:
Jacob Mandelson 2024-03-27 21:06:28 -07:00
parent 9bc4e21f10
commit b8de8155da
1 changed files with 3 additions and 1 deletions

View File

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