aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova
diff options
context:
space:
mode:
authorThierry Crozat2017-11-05 02:34:25 +0000
committerThierry Crozat2018-01-23 02:15:37 +0000
commit5b76bbb016a4e24f72e895b96c3c6ce2c4615b1f (patch)
treea3a51fba586f540d20b66b76a91d3ee14142c66b /engines/supernova
parent5dd3bea723b61e83e375e7c503c1f95a8f6fbee0 (diff)
downloadscummvm-rg350-5b76bbb016a4e24f72e895b96c3c6ce2c4615b1f.tar.gz
scummvm-rg350-5b76bbb016a4e24f72e895b96c3c6ce2c4615b1f.tar.bz2
scummvm-rg350-5b76bbb016a4e24f72e895b96c3c6ce2c4615b1f.zip
SUPERNOVA: Fix graphics glitches
Diffstat (limited to 'engines/supernova')
-rw-r--r--engines/supernova/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index 0b569e4fc3..995f390fd7 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -622,8 +622,8 @@ void GameManager::drawImage(int section) {
section -= 128;
}
+ _currentRoom->setSectionVisible(section, sectionVisible);
do {
- _currentRoom->setSectionVisible(section, sectionVisible);
if (sectionVisible)
_vm->renderImage(_currentRoom->getFileNumber(), section);
else