mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-03 20:59:17 +00:00
Record the amount of revolver ammunition in save file.
This commit is contained in:
parent
1f2692a4fb
commit
a626ede2bf
@ -444,7 +444,7 @@ EX namespace scores {
|
|||||||
/** \brief the amount of boxes reserved for each hr::score item */
|
/** \brief the amount of boxes reserved for each hr::score item */
|
||||||
#define MAXBOX 500
|
#define MAXBOX 500
|
||||||
/** \brief currently used boxes in hr::score */
|
/** \brief currently used boxes in hr::score */
|
||||||
#define POSSCORE 411
|
#define POSSCORE 412
|
||||||
/** \brief a struct to keep local score from an earlier game */
|
/** \brief a struct to keep local score from an earlier game */
|
||||||
struct score {
|
struct score {
|
||||||
/** \brief version used */
|
/** \brief version used */
|
||||||
@ -948,6 +948,7 @@ EX void applyBoxes() {
|
|||||||
list_invorb();
|
list_invorb();
|
||||||
|
|
||||||
applyBoxNum(items[itCrossbow]);
|
applyBoxNum(items[itCrossbow]);
|
||||||
|
applyBoxNum(items[itRevolver]);
|
||||||
|
|
||||||
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
|
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
|
||||||
if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); }
|
if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); }
|
||||||
|
Loading…
Reference in New Issue
Block a user