mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 17:20:30 +00:00
DIRECTOR: Remove erroneous widget deletion
This reverts commit 48599bd622
.
This commit is contained in:
parent
bf1a12220f
commit
91ac560619
@ -45,13 +45,8 @@ CastMember::CastMember(Cast *cast, uint16 castId, Common::SeekableReadStreamEndi
|
||||
_modified = true;
|
||||
}
|
||||
|
||||
CastMember::~CastMember() {
|
||||
if (_widget)
|
||||
delete _widget;
|
||||
}
|
||||
|
||||
BitmapCastMember::BitmapCastMember(Cast *cast, uint16 castId, Common::SeekableReadStreamEndian &stream, uint32 castTag, uint16 version, uint8 flags1)
|
||||
: CastMember(cast, castId, stream) {
|
||||
: CastMember(cast, castId, stream) {
|
||||
_type = kCastBitmap;
|
||||
_img = nullptr;
|
||||
_matte = nullptr;
|
||||
|
@ -55,7 +55,7 @@ struct Resource;
|
||||
class CastMember {
|
||||
public:
|
||||
CastMember(Cast *cast, uint16 castId, Common::SeekableReadStreamEndian &stream);
|
||||
virtual ~CastMember();
|
||||
virtual ~CastMember() {}
|
||||
|
||||
Cast *getCast() { return _cast; }
|
||||
uint16 getID() { return _castId; }
|
||||
|
Loading…
Reference in New Issue
Block a user