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 | 053e2ddda5396a29947093d3e9e3b725429c7102 (patch) | |
tree | 2048730a2bf93500bc8d9112bae1371da5ba8b87 /src/newgrf_station.cpp | |
parent | 20336638d572e8f30590f7d1c08c47cbf60f973f (diff) | |
download | openttd-053e2ddda5396a29947093d3e9e3b725429c7102.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.cpp | 4 |
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 */ |