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
commit1691b2da618e2701adee128eb5fc4168bff69f59 (patch)
tree5641df6933c5082202a0fd343b0195526ff1345c /src/oldloader.cpp
parent2ac0410767683fb0e6315433f9805712cb85f5bd (diff)
downloadopenttd-1691b2da618e2701adee128eb5fc4168bff69f59.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 */