(svn r8056) -Codechange: Remove swap_byte, swap_byte, and siblings (some were not used anyway) and replace them by our SwapT implementation
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user