mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
subdir set correctly when mouse-moving in multiplayer
This commit is contained in:
parent
2f9419615d
commit
0b1425dac3
@ -958,6 +958,11 @@ EX void handleInput(int delta) {
|
|||||||
cdir = d;
|
cdir = d;
|
||||||
if(multi::multiPlayerTarget(i) == c) break;
|
if(multi::multiPlayerTarget(i) == c) break;
|
||||||
cdir = scdir;
|
cdir = scdir;
|
||||||
|
cwt = multi::player[i];
|
||||||
|
calcMousedest();
|
||||||
|
auto& sd = multi::whereto[i].subdir;
|
||||||
|
sd = mousedest.subdir;
|
||||||
|
if(sd == 0) sd = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user