aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-12-22 13:52:25 +0000
committerFilippos Karapetis2010-12-22 13:52:25 +0000
commit166f3f2dfd1201a19c107ef9550ca43afbae034c (patch)
treeb2e800cef90f657576ed733bae268efbcb8fdb8a /engines
parent430dc10c4944922894e32d1b29852794c9f27b7b (diff)
downloadscummvm-rg350-166f3f2dfd1201a19c107ef9550ca43afbae034c.tar.gz
scummvm-rg350-166f3f2dfd1201a19c107ef9550ca43afbae034c.tar.bz2
scummvm-rg350-166f3f2dfd1201a19c107ef9550ca43afbae034c.zip
SCI2+: Set pictureCels to 0 after deleting them
svn-id: r55004
Diffstat (limited to 'engines')
-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 6e2aceebf2..e51bfbaf13 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -541,6 +541,7 @@ void GfxFrameout::kernelFrameout() {
for (PlanePictureList::iterator pictureIt = _planePictures.begin(); pictureIt != _planePictures.end(); pictureIt++) {
if (pictureIt->object == planeObject) {
delete[] pictureIt->pictureCels;
+ pictureIt->pictureCels = 0;
}
}
}