1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-18 01:54:05 +00:00

zoom_or_fov takes panini limits into account

This commit is contained in:
Zeno Rogue
2020-11-08 12:43:07 +01:00
parent d7351d169a
commit 56164ab172
5 changed files with 48 additions and 22 deletions

View File

@@ -350,9 +350,9 @@ EX void mobile_draw(MOBPAR_FORMAL) {
}
}
#if CAP_RUG
if(andmode == 1 && normal_reaction && rug::rugged && clicked)
rug::finger_on(2, (ticks - lticks_rug) / 2500.);
#if CAP_RUG && CAP_ANIMATIONS
if(andmode == 1 && normal_reaction && rug::rugged && clicked && rug::move_on_touch)
anims::animate_rug_movement(rug::move_on_touch * (ticks - lticks_rug) / 2500.);
#endif
lticks_rug = ticks;