This commit is contained in:
Zeno Rogue 2024-02-21 10:25:29 +01:00
commit 9a590ecc42
2 changed files with 5 additions and 1 deletions

View File

@ -881,6 +881,7 @@ EX void describeMouseover() {
if(shmup::on)
out += " (" + its(c->landparam)+")";
else {
calcTidalPhase();
bool b = c->landparam >= tide[(turncount-1) % tidalsize];
int t = 1;
for(; t < 1000 && b == (c->landparam >= tide[(turncount+t-1) % tidalsize]); t++) ;

View File

@ -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); }
}