mirror of
https://github.com/ScrelliCopter/tmx2gba.git
synced 2025-02-21 03:29:25 +11:00
Fixed some stupid leaks & crashes, tool should be pretty stable now.
Also bumped the warning level up to 4 in the VS project settings & fixed some warnings.
This commit is contained in:
@@ -144,6 +144,7 @@ void CTmxReader::ReadLayer ( rapidxml::xml_node<>* a_xNode )
|
||||
pTileDat = new uint32_t[iWidth * iHeight];
|
||||
if ( !DecodeMap ( pTileDat, iWidth * iHeight * sizeof(uint32_t), std::string ( xData->value () ) ) )
|
||||
{
|
||||
delete[] pTileDat;
|
||||
pTileDat = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user