1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 18:37:39 +00:00

new screen option sm::SHOWCURSOR

This commit is contained in:
Zeno Rogue
2022-04-30 12:02:05 +02:00
parent 59b11a74ad
commit 02d195ca0b
2 changed files with 2 additions and 0 deletions

View File

@@ -736,6 +736,7 @@ EX void mainloopiter() {
mousepan = cmode & sm::NORMAL;
if((cmode & (sm::DRAW | sm::MAP)) && !hiliteclick) mousepan = true;
if(cmode & sm::SHOWCURSOR) mousepan = false;
mousepan = mousepan && mouseaiming(false) && mouseaim_sensitivity;
if(mousepan != oldmousepan) {
oldmousepan = mousepan;