diff options
author | Willem Jan Palenstijn | 2016-02-21 01:44:28 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2016-02-21 01:45:28 +0100 |
commit | 748b7684b275799893f0b39760edbec1a2d38c98 (patch) | |
tree | 0b88731617f9d0ec7ea77fb5a23bb6df70e48bc3 | |
parent | 27e6eceff294d955adb7b2c876be31a74dda7fea (diff) | |
download | scummvm-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.
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 1 |
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(); } |