equal
deleted
inserted
replaced
1336 /* Update all waypoints */ |
1336 /* Update all waypoints */ |
1337 if (CheckSavegameVersion(12)) FixOldWaypoints(); |
1337 if (CheckSavegameVersion(12)) FixOldWaypoints(); |
1338 |
1338 |
1339 UpdateAllWaypointSigns(); |
1339 UpdateAllWaypointSigns(); |
1340 |
1340 |
1341 /* in version 2.2 of the savegame, we have new airports */ |
|
1342 if (CheckSavegameVersionOldStyle(2, 2)) UpdateOldAircraft(); |
|
1343 |
|
1344 UpdateAllStationVirtCoord(); |
1341 UpdateAllStationVirtCoord(); |
1345 |
1342 |
1346 /* Setup town coords */ |
1343 /* Setup town coords */ |
1347 AfterLoadTown(); |
1344 AfterLoadTown(); |
1348 UpdateAllSignVirtCoords(); |
1345 UpdateAllSignVirtCoords(); |
1520 |
1517 |
1521 default: break; |
1518 default: break; |
1522 } |
1519 } |
1523 } |
1520 } |
1524 |
1521 |
|
1522 /* after savegame version 74, we have newgrf airports. make aircraft safe (either to hangar or bounce into air) */ |
|
1523 if (CheckSavegameVersion(74)) UpdateOldAircraft(); |
|
1524 |
1525 /* In version 6.1 we put the town index in the map-array. To do this, we need |
1525 /* In version 6.1 we put the town index in the map-array. To do this, we need |
1526 * to use m2 (16bit big), so we need to clean m2, and that is where this is |
1526 * to use m2 (16bit big), so we need to clean m2, and that is where this is |
1527 * all about ;) */ |
1527 * all about ;) */ |
1528 if (CheckSavegameVersionOldStyle(6, 1)) { |
1528 if (CheckSavegameVersionOldStyle(6, 1)) { |
1529 for (TileIndex t = 0; t < map_size; t++) { |
1529 for (TileIndex t = 0; t < map_size; t++) { |