1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

Merge pull request #243 from vcmi/guiCleanup

Gui cleanup
This commit is contained in:
Alexander Shishkin
2016-10-28 08:53:03 +03:00
committed by GitHub
11 changed files with 173 additions and 148 deletions

View File

@ -154,7 +154,7 @@ void init()
logGlobal->infoStream()<<"Screen handler: "<<pomtime.getDiff();
pomtime.getDiff();
graphics->loadHeroAnims();
graphics->load();
logGlobal->infoStream()<<"\tMain graphics: "<<pomtime.getDiff();
logGlobal->infoStream()<<"Initializing game graphics: "<<tmh.getDiff();
@ -934,6 +934,8 @@ void dispose()
}
CMessage::dispose();
vstd::clear_pointer(graphics);
if(console)
{
delete console; // should be removed after everything else since used by logging