1
0
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:
DjWarmonger 2015-04-11 12:47:41 +02:00
parent 368401ca07
commit 69c58c6c25

View File

@ -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;