Replace WPos.ToCPos -> Map.CellContaining.
This commit is contained in:
@@ -25,7 +25,7 @@ namespace OpenRA.Mods.RA.Effects
|
||||
{
|
||||
this.world = world;
|
||||
this.pos = pos;
|
||||
this.cell = pos.ToCPos();
|
||||
this.cell = world.Map.CellContaining(pos);
|
||||
|
||||
anim = new Animation(world, trail);
|
||||
anim.PlayThen("idle",
|
||||
|
||||
Reference in New Issue
Block a user