Wrap palette references with a PaletteRef object.
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenRA.Mods.Cnc.Effects
|
||||
{
|
||||
yield return new Renderable(anim.Image,
|
||||
target.CenterLocation.ToFloat2() - new float2(.5f * anim.Image.size.X, anim.Image.size.Y - Game.CellSize),
|
||||
"effect", (int)target.CenterLocation.Y);
|
||||
PaletteReference.FromName("effect"), (int)target.CenterLocation.Y);
|
||||
}
|
||||
|
||||
void Finish( World world )
|
||||
|
||||
Reference in New Issue
Block a user