mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-07 22:49:54 +00:00
Merge pull request #367 from jlmjlm/srfix2
Record fuel collected and space rocks killed.
This commit is contained in:
commit
edff317759
@ -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); }
|
||||
|
Loading…
Reference in New Issue
Block a user