summaryrefslogtreecommitdiff
path: root/src/oldloader.cpp
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2007-01-11 12:32:10 +0000
committercelestar <celestar@openttd.org>2007-01-11 12:32:10 +0000
commitc56ee62ade0bf539e0ed5e91e2b1e3f0a9b8ec23 (patch)
tree5641df6933c5082202a0fd343b0195526ff1345c /src/oldloader.cpp
parent08de6b082af59087361b5d7e5be67b6e3cd66a82 (diff)
downloadopenttd-c56ee62ade0bf539e0ed5e91e2b1e3f0a9b8ec23.tar.xz
(svn r8056) -Codechange: Remove swap_byte, swap_byte, and siblings (some were not used anyway) and replace them by our SwapT implementation
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r--src/oldloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp
index b920ffc9a..352486444 100644
--- a/src/oldloader.cpp
+++ b/src/oldloader.cpp
@@ -310,7 +310,7 @@ static void FixOldStations(void)
FOR_ALL_STATIONS(st) {
/* Check if we need to swap width and height for the station */
if (st->train_tile != 0 && GetRailStationAxis(st->train_tile) != AXIS_X) {
- swap_byte(&st->trainst_w, &st->trainst_h);
+ SwapT(&st->trainst_w, &st->trainst_h);
}
/* Check if there is a bus or truck station, and convert to new format */