successful gamestart; shroud is borked

This commit is contained in:
Chris Forbes
2010-03-17 21:39:16 +13:00
parent 38172dcda5
commit bd35f48e48
4 changed files with 7 additions and 7 deletions

View File

@@ -65,7 +65,8 @@ namespace OpenRA.Graphics
ConnectionState lastConnectionState = ConnectionState.PreConnecting;
public void DrawRegions( World world )
{
world.WorldRenderer.palette.Update(world.Queries.WithTraitMultiple<IPaletteModifier>().Select(t=>t.Trait));
world.WorldRenderer.palette.Update(
world.WorldActor.traits.WithInterface<IPaletteModifier>());
float2 r1 = new float2(2, -2) / screenSize;
float2 r2 = new float2(-1, 1);