equal
deleted
inserted
replaced
1615 } break; |
1615 } break; |
1616 default: break; |
1616 default: break; |
1617 } |
1617 } |
1618 } |
1618 } |
1619 |
1619 |
|
1620 /* Make sure the available engines are really available, otherwise |
|
1621 * we will get a "new vehicle"-spree. */ |
|
1622 for (Engine *e = _engines; e != endof(_engines); e++) { |
|
1623 if (_date >= (e->intro_date + 365)) { |
|
1624 e->flags = (e->flags & ~ENGINE_EXCLUSIVE_PREVIEW) | ENGINE_AVAILABLE; |
|
1625 AddRemoveEngineFromAutoreplaceAndBuildWindows(e->type); |
|
1626 e->player_avail = (byte)-1; |
|
1627 } |
|
1628 } |
|
1629 |
1620 /* Fix the game to be compatible with OpenTTD */ |
1630 /* Fix the game to be compatible with OpenTTD */ |
1621 FixOldTowns(); |
1631 FixOldTowns(); |
1622 FixOldStations(); |
1632 FixOldStations(); |
1623 FixOldVehicles(); |
1633 FixOldVehicles(); |
1624 |
1634 |