1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Merged fixes from the branch.

This commit is contained in:
Michał W. Urbańczyk
2013-09-28 00:58:33 +00:00
20 changed files with 167 additions and 61 deletions

View File

@ -13,6 +13,7 @@
#include "CCreatureHandler.h"
#include "CGameState.h"
#include "BattleState.h"
#include "CTownHandler.h"
#undef min
#undef max
@ -448,6 +449,7 @@ DLL_LINKAGE void NewStructures::applyGs( CGameState *gs )
CGTownInstance *t = gs->getTown(tid);
for(const auto & id : bid)
{
assert(t->town->buildings[id]);
t->builtBuildings.insert(id);
}
t->builded = builded;