openttd.c
changeset 4383 f1e2d6c7527e
parent 4349 1016170ae0cb
child 4502 02543104c12a
equal deleted inserted replaced
4382:7b5119965fb3 4383:f1e2d6c7527e
  1452 		Player *player;
  1452 		Player *player;
  1453 		Industry *i;
  1453 		Industry *i;
  1454 		Vehicle *v;
  1454 		Vehicle *v;
  1455 
  1455 
  1456 		_date += DAYS_TILL_ORIGINAL_BASE_YEAR;
  1456 		_date += DAYS_TILL_ORIGINAL_BASE_YEAR;
       
  1457 		_cur_year += ORIGINAL_BASE_YEAR;
  1457 
  1458 
  1458 		FOR_ALL_STATIONS(st)    st->build_date += DAYS_TILL_ORIGINAL_BASE_YEAR;
  1459 		FOR_ALL_STATIONS(st)    st->build_date += DAYS_TILL_ORIGINAL_BASE_YEAR;
  1459 		FOR_ALL_WAYPOINTS(wp)   wp->build_date += DAYS_TILL_ORIGINAL_BASE_YEAR;
  1460 		FOR_ALL_WAYPOINTS(wp)   wp->build_date += DAYS_TILL_ORIGINAL_BASE_YEAR;
  1460 		FOR_ALL_ENGINES(e)      e->intro_date  += DAYS_TILL_ORIGINAL_BASE_YEAR;
  1461 		FOR_ALL_ENGINES(e)      e->intro_date  += DAYS_TILL_ORIGINAL_BASE_YEAR;
  1461 		FOR_ALL_PLAYERS(player) player->inaugurated_year += ORIGINAL_BASE_YEAR;
  1462 		FOR_ALL_PLAYERS(player) player->inaugurated_year += ORIGINAL_BASE_YEAR;