Ticket #4296: latiumTree2016_10_28.patch

File latiumTree2016_10_28.patch, 715 bytes (added by FeXoR, 8 years ago)

Fixes the choice ot treetypes for stragler trees on random map Latium

  • binaries/data/mods/public/maps/random/latium.js

     
    473473log("Creating straggler trees...");
    474474for (let tree of [oCarob, oBeech, oLombardyPoplar, oLombardyPoplar, oPine])
    475475{
    476     group = new SimpleGroup([new SimpleObject(trees[t], 1,1, 0,1)], true, clForest);
     476    group = new SimpleGroup([new SimpleObject(tree, 1,1, 0,1)], true, clForest);
    477477    createObjectGroups(group, 0,
    478478        avoidClasses(clWater, 5, clCliff, 4, clForest, 2, clPlayer, 15, clMetal, 4, clStone, 4),
    479479        scaleByMapSize(2, 38), 50