Replace CPos.CenterPosition -> Map.CenterOfCell.
This commit is contained in:
@@ -69,7 +69,7 @@ namespace OpenRA.Mods.RA
|
||||
if (wr.world.ShroudObscures(kv.Key))
|
||||
continue;
|
||||
|
||||
new SpriteRenderable(kv.Value, kv.Key.CenterPosition,
|
||||
new SpriteRenderable(kv.Value, wr.world.Map.CenterOfCell(kv.Key),
|
||||
WVec.Zero, -511, pal, 1f, true).Render(wr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user