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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user