mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
TITANIC: Fix crash clicking mouse when copyright dialog is showing
This commit is contained in:
parent
ec9351bdb6
commit
f827e27bfb
@ -363,6 +363,9 @@ void CMainGameWindow::keyDown(Common::KeyState keyState) {
|
||||
}
|
||||
|
||||
bool CMainGameWindow::isMouseControlEnabled() const {
|
||||
if (!_gameManager)
|
||||
return false;
|
||||
|
||||
CScreenManager *screenMan = CScreenManager::_screenManagerPtr;
|
||||
if (!screenMan || !screenMan->_mouseCursor)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user