water palette done that way

This commit is contained in:
Chris Forbes
2009-12-23 21:08:29 +13:00
parent e4f8c28990
commit af715b4a5e
3 changed files with 33 additions and 0 deletions

View File

@@ -74,6 +74,10 @@ namespace OpenRa.Game
Game.world.Add(a);
}
var worldActor = new Actor(null, new int2(int.MaxValue, int.MaxValue), null);
worldActor.traits.Add(new Traits.WaterPaletteRotation(worldActor));
Game.world.Add(worldActor);
Rules.Map.InitOreDensity();
worldRenderer = new WorldRenderer(renderer);