diff options
author | Filippos Karapetis | 2010-12-22 13:52:25 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-12-22 13:52:25 +0000 |
commit | 166f3f2dfd1201a19c107ef9550ca43afbae034c (patch) | |
tree | b2e800cef90f657576ed733bae268efbcb8fdb8a /engines/sci/graphics | |
parent | 430dc10c4944922894e32d1b29852794c9f27b7b (diff) | |
download | scummvm-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/sci/graphics')
-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 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; } } } |