Move effects to WorldRenderer palette lookup.
This commit is contained in:
@@ -49,7 +49,7 @@ namespace OpenRA.Mods.RA.Effects
|
||||
pos -= new PVecInt(0, velocity);
|
||||
}
|
||||
|
||||
public IEnumerable<Renderable> Render()
|
||||
public IEnumerable<Renderable> Render(WorldRenderer wr)
|
||||
{
|
||||
font.DrawTextWithContrast(s, Game.viewport.Zoom*(pos.ToFloat2() - Game.viewport.Location) - offset, color, Color.Black,1);
|
||||
yield break;
|
||||
|
||||
Reference in New Issue
Block a user