mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
- Next part of animation system:
-- Reduced memory usage for images with margins -- Implemented RLE compression - Linux-related changes: -- build system updated to include changed paths -- new dependency: boost-program-options -- configure option --disable-debug will produce optimized build - Several gcc compile fixes - Optimized CPU usage on town screens - Removed several includes from headers - Possible fix for #496
This commit is contained in:
@ -150,7 +150,7 @@ CBuildingHandler::~CBuildingHandler()
|
||||
{
|
||||
for(std::vector< bmap<int, ConstTransitivePtr<CBuilding> > >::iterator i=buildings.begin(); i!=buildings.end(); i++)
|
||||
for(std::map<int, ConstTransitivePtr<CBuilding> >::iterator j=i->begin(); j!=i->end(); j++)
|
||||
delete j->second;
|
||||
j->second.dellNull();
|
||||
}
|
||||
|
||||
static std::string emptyStr = "";
|
||||
|
Reference in New Issue
Block a user