misc.c
changeset 1595 fda318dddab5
parent 1542 62a03537ad0b
child 1752 d65cd19f7117
equal deleted inserted replaced
1594:00485cb74836 1595:fda318dddab5
   681 		_cur_year = MAX_YEAR_END;
   681 		_cur_year = MAX_YEAR_END;
   682 		_date = 62093;
   682 		_date = 62093;
   683 		FOR_ALL_VEHICLES(v) {
   683 		FOR_ALL_VEHICLES(v) {
   684 			v->date_of_last_service -= 365; // 1 year is 365 days long
   684 			v->date_of_last_service -= 365; // 1 year is 365 days long
   685 		}
   685 		}
       
   686 
       
   687 		/* Because the _date wraps here, and text-messages expire by game-days, we have to clean out
       
   688 		 *  all of them if the date is set back, else those messages will hang for ever */
       
   689 		InitTextMessage();
   686 	}
   690 	}
   687 
   691 
   688 	if (_patches.auto_euro)
   692 	if (_patches.auto_euro)
   689 		CheckSwitchToEuro();
   693 		CheckSwitchToEuro();
   690 
   694