Replace WPos.ToCPos -> Map.CellContaining.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace OpenRA.Mods.RA.Effects
|
||||
{
|
||||
this.world = world;
|
||||
this.pos = pos;
|
||||
this.cell = pos.ToCPos();
|
||||
this.cell = world.Map.CellContaining(pos);
|
||||
this.paletteName = paletteName;
|
||||
anim = new Animation(world, image);
|
||||
anim.PlayThen(sequence, () => world.AddFrameEndTask(w => w.Remove(this)));
|
||||
|
||||
Reference in New Issue
Block a user