Compare commits

...

2 Commits

Author SHA1 Message Date
Zeno Rogue edff317759
Merge pull request #367 from jlmjlm/srfix2
Record fuel collected and space rocks killed.
2024-03-28 17:47:58 +01:00
Jacob Mandelson b8de8155da Record fuel collected and space rocks killed. 2024-03-27 21:07:20 -07:00
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); }