Pass WorldRenderer to IRenderModifiers and replace more palette lookups.

This commit is contained in:
Paul Chote
2013-02-24 12:15:28 +13:00
parent 48d713aafd
commit 000a5eaa56
17 changed files with 40 additions and 32 deletions

View File

@@ -39,7 +39,7 @@ namespace OpenRA.Effects
yield break;
if (remainingTicks % 2 == 0)
foreach (var r in target.Render())
foreach (var r in target.Render(wr))
yield return r.WithPalette(wr.Palette("highlight"));
}
}