Skip to content

Commit

Permalink
TITANIC: Fix crash clicking mouse when copyright dialog is showing
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jun 18, 2017
1 parent ec9351b commit f827e27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engines/titanic/main_game_window.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit f827e27

Please sign in to comment.