fixes influence map for map buildings

This commit is contained in:
Chris Forbes
2009-10-24 00:24:25 +13:00
parent 5082d9abdd
commit 8d2cce5995
2 changed files with 3 additions and 3 deletions

View File

@@ -52,13 +52,13 @@ namespace OpenRa.Game
treeCache = new TreeCache(map);
foreach( TreeReference treeReference in map.Trees )
world.Add( new Actor( treeReference, treeCache, map.Offset ) );
world.Add( new Actor( treeReference, treeCache, map.Offset ) );
BuildingInfluence = new BuildingInfluenceMap(world, 8);
LoadMapBuildings( mapFile );
LoadMapUnits( mapFile );
BuildingInfluence = new BuildingInfluenceMap(world, 8);
pathFinder = new PathFinder(map, terrain.tileSet, BuildingInfluence);
network = new Network();

BIN
OpenRa.Game/bin.zip Normal file

Binary file not shown.