This commit is contained in:
parent
e8c765e021
commit
c9aea8be1f
5 changed files with 42 additions and 16 deletions
|
@ -69,7 +69,11 @@ CLayerTile::CLayerTile(CFile *File,int Version)
|
|||
/*****************************************************************************/
|
||||
CLayerTile::~CLayerTile()
|
||||
{
|
||||
if (SubType==LAYER_SUBTYPE_ACTION) delete TileBank;
|
||||
if (SubType==LAYER_SUBTYPE_ACTION)
|
||||
{
|
||||
TileBank->CleanUp();
|
||||
delete TileBank;
|
||||
}
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue