From 1691b2da618e2701adee128eb5fc4168bff69f59 Mon Sep 17 00:00:00 2001 From: celestar Date: Thu, 11 Jan 2007 12:32:10 +0000 Subject: (svn r8056) -Codechange: Remove swap_byte, swap_byte, and siblings (some were not used anyway) and replace them by our SwapT implementation --- src/oldloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/oldloader.cpp') 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 */ -- cgit v1.2.3-54-g00ecf