1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 12:27:40 +00:00

Check tide before drawing cells.

This commit is contained in:
Jacob Mandelson
2024-04-22 15:07:35 -07:00
parent 27fb2d92d7
commit b56d2d21bf
3 changed files with 4 additions and 2 deletions

View File

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