WorldRenderer now uses the global renderers too

This commit is contained in:
alzeih
2010-07-21 18:17:43 +12:00
parent c2197b0adb
commit 4065a4f6a2
2 changed files with 46 additions and 53 deletions

View File

@@ -62,7 +62,6 @@ namespace OpenRA
Timer.Time( "----World.ctor" );
Map = map;
Rules.LoadRules(manifest,Map);
Timer.Time( "load rules: {0}" );
@@ -71,7 +70,7 @@ namespace OpenRA
TileSet.LoadTiles();
Timer.Time( "Tileset: {0}" );
WorldRenderer = new WorldRenderer(this, Game.Renderer);
WorldRenderer = new WorldRenderer(this);
Timer.Time("renderer: {0}");
WorldActor = CreateActor("World", new int2(int.MaxValue, int.MaxValue), null);