diff options
author | tron <tron@openttd.org> | 2007-02-22 08:43:02 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-02-22 08:43:02 +0000 |
commit | 103d119c510a83c3b0cca20328ad4d87e8159d6a (patch) | |
tree | 2048730a2bf93500bc8d9112bae1371da5ba8b87 /src/terraform_gui.cpp | |
parent | 0d041a87cc475253176f796c156a3c49032eb415 (diff) | |
download | openttd-103d119c510a83c3b0cca20328ad4d87e8159d6a.tar.xz |
(svn r8841) -Fix
Remove {,u}intswap() and replace them by Swap()
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r-- | src/terraform_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |