1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Golems Factory and Elemental Conflux creature generators supported. Minor improvements. Updated changelog.

This commit is contained in:
Michał W. Urbańczyk
2009-07-26 10:43:22 +00:00
parent 9fd4b5bb62
commit e358845873
12 changed files with 152 additions and 75 deletions

View File

@@ -350,7 +350,9 @@ DLL_EXPORT void NewStructures::applyGs( CGameState *gs )
DLL_EXPORT void SetAvailableCreatures::applyGs( CGameState *gs )
{
gs->getTown(tid)->creatures = creatures;
CGDwelling *dw = dynamic_cast<CGDwelling*>(gs->map->objects[tid]);
assert(dw);
dw->creatures = creatures;
}
DLL_EXPORT void SetHeroesInTown::applyGs( CGameState *gs )