Codechange: use TimerGameCalendar::Date for variables in linkgraph that are dates (#11187)

This commit is contained in:
Patric Stout
2023-08-12 16:02:38 +02:00
committed by GitHub
parent b7acf9e50e
commit a9ed590ca7
8 changed files with 16 additions and 17 deletions

View File

@@ -223,7 +223,7 @@ public:
* Change the join date on date cheating.
* @param interval Number of days to add.
*/
inline void ShiftJoinDate(int interval) { this->join_date += interval; }
inline void ShiftJoinDate(TimerGameCalendar::Date interval) { this->join_date += interval; }
/**
* Get the link graph settings for this component.