summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-22 08:43:02 +0000
committertron <tron@openttd.org>2007-02-22 08:43:02 +0000
commit103d119c510a83c3b0cca20328ad4d87e8159d6a (patch)
tree2048730a2bf93500bc8d9112bae1371da5ba8b87 /src/newgrf_station.cpp
parent0d041a87cc475253176f796c156a3c49032eb415 (diff)
downloadopenttd-103d119c510a83c3b0cca20328ad4d87e8159d6a.tar.xz
(svn r8841) -Fix
Remove {,u}intswap() and replace them by Swap()
Diffstat (limited to 'src/newgrf_station.cpp')
-rw-r--r--src/newgrf_station.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp
index f84b34ec0..9c39bc04e 100644
--- a/src/newgrf_station.cpp
+++ b/src/newgrf_station.cpp
@@ -200,8 +200,8 @@ uint32 GetPlatformInfo(Axis axis, byte tile, int platforms, int length, int x, i
uint32 retval = 0;
if (axis == AXIS_X) {
- intswap(platforms, length);
- intswap(x, y);
+ Swap(platforms, length);
+ Swap(x, y);
}
/* Limit our sizes to 4 bits */