diff options
author | Thanasis Antoniou | 2019-05-22 12:13:09 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-05-22 12:13:43 +0300 |
commit | 7407cbc7880989f4444daeb53ac60b93be4ced8c (patch) | |
tree | 8a9460f25b65347d6d3ae297dc8874081a0d342b /engines/bladerunner/mouse.cpp | |
parent | 64087716736ae9ec26813b8a0d62c98694503504 (diff) | |
download | scummvm-rg350-7407cbc7880989f4444daeb53ac60b93be4ced8c.tar.gz scummvm-rg350-7407cbc7880989f4444daeb53ac60b93be4ced8c.tar.bz2 scummvm-rg350-7407cbc7880989f4444daeb53ac60b93be4ced8c.zip |
BLADERUNNER: Don't exit to desktop after end credits
Diffstat (limited to 'engines/bladerunner/mouse.cpp')
-rw-r--r-- | engines/bladerunner/mouse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/mouse.cpp b/engines/bladerunner/mouse.cpp index 59dcb41ac8..6a6f94f978 100644 --- a/engines/bladerunner/mouse.cpp +++ b/engines/bladerunner/mouse.cpp @@ -218,8 +218,8 @@ void Mouse::disable() { _randomCountdownY = 0; } -void Mouse::enable() { - if (--_disabledCounter <= 0) { +void Mouse::enable(bool force) { + if (force || --_disabledCounter <= 0) { _disabledCounter = 0; } } |