Remove unused "Manifest" argument from World constructor

This commit is contained in:
Pavlos Touboulidis
2014-05-11 03:26:04 +03:00
parent b560268495
commit 6f3d9e9c97
2 changed files with 2 additions and 2 deletions

View File

@@ -258,7 +258,7 @@ namespace OpenRA
map = modData.PrepareMap(mapUID); map = modData.PrepareMap(mapUID);
using (new PerfTimer("NewWorld")) using (new PerfTimer("NewWorld"))
{ {
orderManager.world = new World(modData.Manifest, map, orderManager, isShellmap); orderManager.world = new World(map, orderManager, isShellmap);
orderManager.world.Timestep = Timestep; orderManager.world.Timestep = Timestep;
} }
worldRenderer = new WorldRenderer(orderManager.world); worldRenderer = new WorldRenderer(orderManager.world);

View File

@@ -118,7 +118,7 @@ namespace OpenRA
} }
} }
internal World(Manifest manifest, Map map, OrderManager orderManager, bool isShellmap) internal World(Map map, OrderManager orderManager, bool isShellmap)
{ {
IsShellmap = isShellmap; IsShellmap = isShellmap;
this.orderManager = orderManager; this.orderManager = orderManager;