From 103d119c510a83c3b0cca20328ad4d87e8159d6a Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 22 Feb 2007 08:43:02 +0000 Subject: (svn r8841) -Fix Remove {,u}intswap() and replace them by Swap() --- src/landscape.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/landscape.cpp') diff --git a/src/landscape.cpp b/src/landscape.cpp index 171e1718b..c790d9c04 100644 --- a/src/landscape.cpp +++ b/src/landscape.cpp @@ -337,8 +337,8 @@ int32 CmdClearArea(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) ey = TileY(tile); sx = TileX(p1); sy = TileY(p1); - if (ex < sx) intswap(ex, sx); - if (ey < sy) intswap(ey, sy); + if (ex < sx) Swap(ex, sx); + if (ey < sy) Swap(ey, sy); money = GetAvailableMoneyForCommand(); cost = 0; -- cgit v1.2.3-54-g00ecf