(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by introducing a daily random industry change.
This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process. Thanks to frosch, for nice code ideas and rewrites
This commit is contained in:
@@ -159,7 +159,7 @@ Date ConvertYMDToDate(Year year, Month month, Day day)
|
||||
extern void WaypointsDailyLoop();
|
||||
extern void EnginesDailyLoop();
|
||||
extern void DisasterDailyLoop();
|
||||
|
||||
extern void IndustryDailyLoop();
|
||||
extern void PlayersMonthlyLoop();
|
||||
extern void EnginesMonthlyLoop();
|
||||
extern void TownsMonthlyLoop();
|
||||
@@ -229,6 +229,7 @@ void IncreaseDate()
|
||||
|
||||
DisasterDailyLoop();
|
||||
WaypointsDailyLoop();
|
||||
IndustryDailyLoop();
|
||||
|
||||
if (_game_mode != GM_MENU) {
|
||||
InvalidateWindowWidget(WC_STATUS_BAR, 0, 0);
|
||||
|
Reference in New Issue
Block a user