[-] Fixed bug with construction outline
This commit is contained in:
parent
1761d0d0a2
commit
49fdea25f9
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ enum {
|
|||
|
||||
/* virtual */ PixelPos COrder_Build::Show(const CViewport &vp, const PixelPos &lastScreenPos) const
|
||||
{
|
||||
PixelPos targetPos = vp.TilePosToScreen_TopLeft(this->goalPos);
|
||||
PixelPos targetPos = vp.TilePosToScreen_Center(this->goalPos);
|
||||
targetPos.x += (this->GetUnitType().TileWidth - 1) * PixelTileSize.x / 2;
|
||||
targetPos.y += (this->GetUnitType().TileHeight - 1) * PixelTileSize.y / 2;
|
||||
|
||||
|
|
Loading…
Reference in a new issue