Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/zenorogue/hyperrogue
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorogue committed Feb 21, 2024
2 parents eb1488b + 26328f5 commit 9a590ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions help.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++) ;
Expand Down
5 changes: 4 additions & 1 deletion system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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); }
}
Expand Down

0 comments on commit 9a590ec

Please sign in to comment.