SHERLOCK: Remove non-virtual destructor which prevents the superclass one from execution.
This commit is contained in:
parent
f6d8e0f5ed
commit
cbb403ff55
2 changed files with 3 additions and 10 deletions
|
@ -302,12 +302,6 @@ ImageFile3DO::ImageFile3DO(Common::SeekableReadStream &stream, bool isRoomData)
|
|||
}
|
||||
}
|
||||
|
||||
ImageFile3DO::~ImageFile3DO() {
|
||||
// already done in ImageFile destructor
|
||||
//for (uint idx = 0; idx < size(); ++idx)
|
||||
// (*this)[idx]._frame.free();
|
||||
}
|
||||
|
||||
void ImageFile3DO::load(Common::SeekableReadStream &stream, bool isRoomData) {
|
||||
uint32 headerId = 0;
|
||||
|
||||
|
|
|
@ -155,7 +155,6 @@ private:
|
|||
public:
|
||||
ImageFile3DO(const Common::String &name, ImageFile3DOType imageFile3DOType);
|
||||
ImageFile3DO(Common::SeekableReadStream &stream, bool isRoomData = false);
|
||||
~ImageFile3DO();
|
||||
static void setVm(SherlockEngine *vm);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue