ASYLUM: ignore mouse clicks while the cursor is hidden

This commit is contained in:
alxpnv 2021-12-27 13:50:38 +03:00
parent 7cc90c7d44
commit 9accbf1c30

View File

@ -337,7 +337,7 @@ bool Scene::handleEvent(const AsylumEvent &evt) {
case Common::EVENT_LBUTTONDOWN:
case Common::EVENT_RBUTTONDOWN:
case Common::EVENT_MBUTTONDOWN:
return clickDown(evt);
return getCursor()->isHidden() ? false : clickDown(evt);
}
return false;