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:
parent
fa4e00573f
commit
f50fd6d8db
@ -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");
|
||||
|
@ -90,6 +90,7 @@ public:
|
||||
|
||||
//functions
|
||||
Graphics();
|
||||
~Graphics();
|
||||
|
||||
void load();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user