mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Experiment: fractalize RMG zones before placing important objects. The downside is that it won't be possible to draw road as straight line anymore.
This commit is contained in:
parent
368401ca07
commit
69c58c6c25
@ -1432,9 +1432,9 @@ bool CRmgTemplateZone::fill(CMapGenerator* gen)
|
||||
|
||||
addAllPossibleObjects (gen);
|
||||
|
||||
fractalize(gen);
|
||||
placeMines(gen);
|
||||
createRequiredObjects(gen);
|
||||
fractalize(gen); //after required objects are created and linked with their own paths
|
||||
createTreasures(gen);
|
||||
|
||||
logGlobal->infoStream() << boost::format ("Zone %d filled successfully") %id;
|
||||
|
Loading…
Reference in New Issue
Block a user