1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 17:07:40 +00:00

Merge pull request #372 from jlmjlm/tidefix2

Check tide before drawing cells.
This commit is contained in:
Zeno Rogue
2024-05-09 20:42:03 +02:00
committed by GitHub
3 changed files with 4 additions and 2 deletions

View File

@@ -895,7 +895,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++) ;