fix exit when no map was created
This commit is contained in:
parent
ad332c9a87
commit
2541939ca2
1 changed files with 3 additions and 1 deletions
|
@ -363,7 +363,9 @@ void CMap::Clean(const bool isHardClean /* = false*/)
|
|||
this->Info.Clear();
|
||||
this->Fields = NULL;
|
||||
this->NoFogOfWar = false;
|
||||
this->Tileset->clear();
|
||||
if (Tileset) {
|
||||
this->Tileset->clear();
|
||||
}
|
||||
this->TileModelsFileName.clear();
|
||||
CGraphic::Free(this->TileGraphic);
|
||||
this->TileGraphic = NULL;
|
||||
|
|
Loading…
Reference in a new issue