aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2016-02-21 01:44:28 +0100
committerWillem Jan Palenstijn2016-02-21 01:45:28 +0100
commit748b7684b275799893f0b39760edbec1a2d38c98 (patch)
tree0b88731617f9d0ec7ea77fb5a23bb6df70e48bc3 /engines/sci/graphics
parent27e6eceff294d955adb7b2c876be31a74dda7fea (diff)
downloadscummvm-rg350-748b7684b275799893f0b39760edbec1a2d38c98.tar.gz
scummvm-rg350-748b7684b275799893f0b39760edbec1a2d38c98.tar.bz2
scummvm-rg350-748b7684b275799893f0b39760edbec1a2d38c98.zip
SCI: Clear visible planes in GfxFrameout::clear() too
This caused planes and visibleplanes to go out of sync when loading.
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/frameout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 38a7433783..76cf4cdfe4 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -151,6 +151,7 @@ void GfxFrameout::run() {
void GfxFrameout::clear() {
_planes.clear();
+ _visiblePlanes.clear();
_showList.clear();
}