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

@@ -37,7 +37,7 @@ namespace OpenRA.Mods.RA.Effects
if (a.Destroyed) // Tick will clean up
yield break;
foreach (var r in a.Render())
foreach (var r in a.Render(wr))
yield return r.WithPalette(wr.Palette("invuln"));
}
}