PathFinder doesn't really need it's own ref to Rules.Map

This commit is contained in:
Chris Forbes
2009-12-17 10:02:08 +13:00
parent bd2a2cefbb
commit f729c130c7
3 changed files with 38 additions and 40 deletions

View File

@@ -85,7 +85,7 @@ namespace OpenRa.Game
LoadMapActors(Rules.AllRules);
PathFinder = new PathFinder(Rules.Map);
PathFinder = new PathFinder();
if (Replay != "")
orderManager = new OrderManager(new IOrderSource[] { new ReplayOrderSource(Replay) });