diff options
author | Thierry Crozat | 2017-11-05 17:58:07 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:38 +0000 |
commit | 3f2c0673e4f23db6b2f74581e26566a715aed0e9 (patch) | |
tree | 5a9b864b9c959d56e8140f413b2a980723ad1d60 | |
parent | a159a193247f3aec2d02dfaa5c1c4f8b28283487 (diff) | |
download | scummvm-rg350-3f2c0673e4f23db6b2f74581e26566a715aed0e9.tar.gz scummvm-rg350-3f2c0673e4f23db6b2f74581e26566a715aed0e9.tar.bz2 scummvm-rg350-3f2c0673e4f23db6b2f74581e26566a715aed0e9.zip |
SUPERNOVA: Do not run animations while a text box is displayed
That is also what the original is doing, and this avoid having
graphical glitches.
-rw-r--r-- | engines/supernova/supernova.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index 5bc87872c5..60d3c1c1cc 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -177,7 +177,7 @@ Common::Error SupernovaEngine::run() { void SupernovaEngine::updateEvents() { _gm->handleTime(); - if (_gm->_animationEnabled && _gm->_animationTimer == 0) + if (_gm->_animationEnabled && !_messageDisplayed && _gm->_animationTimer == 0) _gm->_currentRoom->animation(); _gm->_mouseClicked = false; |