1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Fixed CID 1366281, CID 1366282, CID 1366283, CID 1366284

This commit is contained in:
AlexVinS 2016-11-25 15:45:09 +03:00
parent fa4e00573f
commit f50fd6d8db
2 changed files with 9 additions and 0 deletions

View File

@ -149,6 +149,14 @@ Graphics::Graphics()
//(!) do not load any CAnimation here
}
Graphics::~Graphics()
{
delete[] playerColors;
delete neutralColor;
delete[] playerColorPalette;
delete[] neutralColorPalette;
}
void Graphics::load()
{
heroMoveArrows = std::make_shared<CAnimation>("ADAG");

View File

@ -90,6 +90,7 @@ public:
//functions
Graphics();
~Graphics();
void load();