diff --git a/src/misc.cpp b/src/misc.cpp --- a/src/misc.cpp +++ b/src/misc.cpp @@ -15,7 +15,7 @@ #include "newgrf.h" #include "newgrf_house.h" #include "economy_func.h" -#include "date_func.h" +#include "timer/timer_game_calendar.h" #include "timer/timer_game_tick.h" #include "texteff.hpp" #include "gfx_func.h" @@ -74,7 +74,7 @@ void InitializeGame(uint size_x, uint si _newgrf_profilers.clear(); if (reset_date) { - TimerGameCalendar::SetDate(ConvertYMDToDate(_settings_game.game_creation.starting_year, 0, 1), 0); + TimerGameCalendar::SetDate(TimerGameCalendar::ConvertYMDToDate(_settings_game.game_creation.starting_year, 0, 1), 0); InitializeOldNames(); }