(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:
celestar
2007-01-11 12:32:10 +00:00
parent 2ac0410767
commit 1691b2da61
5 changed files with 15 additions and 22 deletions

View File

@@ -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 */