1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 23:10:26 +00:00

mobile:: fixed lmouseover_distant

This commit is contained in:
Zeno Rogue 2021-06-01 18:01:21 +02:00
parent b37ad3d8a8
commit dee64d29d4

View File

@ -245,6 +245,7 @@ EX void mobile_draw(MOBPAR_FORMAL) {
} }
if(cmode & sm::NORMAL) { if(cmode & sm::NORMAL) {
lmouseover_distant = mouseover;
lmouseover = (gtouched && lclicked) ? mouseover : NULL; lmouseover = (gtouched && lclicked) ? mouseover : NULL;
if(!shmup::on && !useRangedOrb && vid.mobilecompasssize) { if(!shmup::on && !useRangedOrb && vid.mobilecompasssize) {
using namespace shmupballs; using namespace shmupballs;