1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-17 03:28:05 +00:00

fixed incorrect scrolling when clicking the mousewheel from outside the Poincare disk

This commit is contained in:
Zeno Rogue
2025-02-24 00:11:18 +01:00
parent 925ec61fb6
commit 2775a120af
3 changed files with 2 additions and 3 deletions

View File

@@ -1150,7 +1150,7 @@ EX void handleInput(int delta, config &scfg) {
if(countplayers_undecided > 0 && ! isUndecided) continue;
if(playerpos(i) == c)
multi::whereto[i].d = MD_WAIT;
else {
else if(!mouseout()) {
for(int d=0; d<playerpos(i)->type; d++) {
cdir = d;
if(multi::multiPlayerTarget(i) == c) break;