forked from mirror/OpenTTD
(svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors.
This commit is contained in:
@@ -37,8 +37,7 @@ RandomizedSpriteGroup::~RandomizedSpriteGroup()
|
||||
|
||||
TileLayoutSpriteGroup::~TileLayoutSpriteGroup()
|
||||
{
|
||||
free((void*)this->dts->seq);
|
||||
free(this->dts);
|
||||
delete this->dts;
|
||||
}
|
||||
|
||||
TemporaryStorageArray<int32, 0x110> _temp_store;
|
||||
|
Reference in New Issue
Block a user