mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Fix prison distribution
This commit is contained in:
parent
7922d8be16
commit
3e9e6aab2b
@ -29,6 +29,7 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
void ObjectDistributor::process()
|
||||
{
|
||||
distributeLimitedObjects();
|
||||
distributePrisons();
|
||||
distributeSeerHuts();
|
||||
}
|
||||
|
||||
|
@ -41,6 +41,7 @@ void TreasurePlacer::process()
|
||||
|
||||
void TreasurePlacer::init()
|
||||
{
|
||||
maxPrisons = 0; //Should be in the constructor, but we use macro for that
|
||||
DEPENDENCY(ObjectManager);
|
||||
DEPENDENCY(ConnectionsPlacer);
|
||||
POSTFUNCTION(RoadPlacer);
|
||||
|
Loading…
Reference in New Issue
Block a user