mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SCI2+: Set pictureCels to 0 after deleting them
svn-id: r55004
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user