(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 20336638d5
commit 053e2ddda5
14 changed files with 29 additions and 34 deletions

View File

@@ -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;