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/terraform_gui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/terraform_gui.cpp') diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp index ca8c75255..095ec7ca4 100644 --- a/src/terraform_gui.cpp +++ b/src/terraform_gui.cpp @@ -40,8 +40,8 @@ static void GenerateDesertArea(TileIndex end, TileIndex start) if (_game_mode != GM_EDITOR) return; - if (ex < sx) intswap(ex, sx); - if (ey < sy) intswap(ey, sy); + if (ex < sx) Swap(ex, sx); + if (ey < sy) Swap(ey, sy); size_x = (ex - sx) + 1; size_y = (ey - sy) + 1; @@ -68,8 +68,8 @@ static void GenerateRockyArea(TileIndex end, TileIndex start) if (_game_mode != GM_EDITOR) return; - if (ex < sx) intswap(ex, sx); - if (ey < sy) intswap(ey, sy); + if (ex < sx) Swap(ex, sx); + if (ey < sy) Swap(ey, sy); size_x = (ex - sx) + 1; size_y = (ey - sy) + 1; -- cgit v1.2.3-54-g00ecf