equal
deleted
inserted
replaced
1389 } END_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0); |
1389 } END_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0); |
1390 } |
1390 } |
1391 |
1391 |
1392 if (CheckSavegameVersion(22)) UpdatePatches(); |
1392 if (CheckSavegameVersion(22)) UpdatePatches(); |
1393 |
1393 |
|
1394 if (CheckSavegameVersion(25)) { |
|
1395 Vehicle *v; |
|
1396 FOR_ALL_VEHICLES(v) { |
|
1397 if (v->type == VEH_Road) { |
|
1398 v->vehstatus &= ~0x40; |
|
1399 v->u.road.slot = NULL; |
|
1400 v->u.road.slot_age = 0; |
|
1401 } |
|
1402 } |
|
1403 } |
|
1404 |
1394 FOR_ALL_PLAYERS(p) p->avail_railtypes = GetPlayerRailtypes(p->index); |
1405 FOR_ALL_PLAYERS(p) p->avail_railtypes = GetPlayerRailtypes(p->index); |
1395 |
1406 |
1396 return true; |
1407 return true; |
1397 } |
1408 } |