1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

mouse aiming in map/graph editor

This commit is contained in:
? 2019-02-28 17:48:14 +01:00 committed by Zeno Rogue
parent f879a2c21c
commit 357a3398cd

View File

@ -535,7 +535,7 @@ void mainloopiter() {
if(cwt.mirrored) playerV = playerV * Mirror;
}
mousepan = normal && DIM == 3 && mouseaim_sensitivity;
mousepan = (cmode & (sm::NORMAL | sm::DRAW | sm::MAP)) && DIM == 3 && mouseaim_sensitivity;
if(mousepan != oldmousepan) {
oldmousepan = mousepan;
if(mousepan) {