(svn r8841) -Fix

Remove {,u}intswap() and replace them by Swap()
This commit is contained in:
tron
2007-02-22 08:43:02 +00:00
parent 0d041a87cc
commit 103d119c51
14 changed files with 29 additions and 34 deletions

View File

@@ -228,8 +228,8 @@ int32 CmdPlantTree(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
ey = TileY(tile);
sx = TileX(p2);
sy = TileY(p2);
if (ex < sx) intswap(ex, sx);
if (ey < sy) intswap(ey, sy);
if (ex < sx) Swap(ex, sx);
if (ey < sy) Swap(ey, sy);
cost = 0; // total cost