diff options
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; |