HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Allow calling game_next_year() without side effects
For feature #764421, I want to calculate when the next year will be without actually advancing the game turn.
Currently, game_next_year() looks like a pure function but actually has side effects.
#2 Updated by Jacob Nevins over 2 years ago
- File m-30-next-year-function.patch m-30-next-year-function.patch added
- File 26-next-year-function.patch 26-next-year-function.patch added
- Status changed from In Progress to Resolved
This is a bit grotty because it involves passing a copy of packet_game_info around just for the calendar-related bits, whereas it would be nice to have those segregated in their own structure. But that's a bigger change that will probably touch the network protocol.