1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed tides in shmup and when scrolling

This commit is contained in:
Zeno Rogue 2024-01-07 09:33:29 +01:00
parent 34ab44d1e1
commit 7ad46d8e80
2 changed files with 2 additions and 1 deletions

View File

@ -2855,7 +2855,7 @@ void celldrawer::draw() {
if(callhandlers(false, hooks_drawcell, c, V)) return;
if(history::on || inHighQual || WDIM == 3 || sightrange_bonus > gamerange_bonus) checkTide(c);
if(history::on || inHighQual || WDIM == 3 || shmup::on || sightrange_bonus > gamerange_bonus || !playermoved) checkTide(c);
if(1) {

View File

@ -2724,6 +2724,7 @@ EX void turn(int delta) {
terracotta::check();
#endif
heat::processfires();
advance_tides();
if(havewhat&HF_WHIRLPOOL) whirlpool::move();
if(havewhat&HF_WHIRLWIND) whirlwind::move();
#if CAP_COMPLEX2