Operating System
Windows 10, 64-bit
OpenRCT2 build
OpenRCT2, v0.4.1 (be518f4 and 9e1b24d) provided by GitHub
Describe the issue
When the in-game year exceeds 4096, the finance window appends blanks at the end instead of showing the info for the months after October, year 4096. This appears to be caused by some of the finance window code treating date.monthsElapsed as a signed integer instead of an unsigned integer.

Area(s) with issue?
No response
Steps to reproduce
- Play any park or scenario until the in-game year 4096, or set that year via the cheats window.
- Play another year to reach year 4097.
- Check the finance window. Info for months after October, year 4096 does not show up; instead, the spaces remain blank like in the above image.
Attachments
Originally reported by @lordmarcel in https://discord.com/channels/601789725090643968/601794846658789377/1008763582185472031
(Discord server "Marcel's Hangout," channel "video-discussion," message dated August 15, 2022)
See also https://youtu.be/OmaRN8SVhfQ?t=425
Operating System
Windows 10, 64-bit
OpenRCT2 build
OpenRCT2, v0.4.1 (be518f4 and 9e1b24d) provided by GitHub
Describe the issue
When the in-game year exceeds 4096, the finance window appends blanks at the end instead of showing the info for the months after October, year 4096. This appears to be caused by some of the finance window code treating
date.monthsElapsedas a signed integer instead of an unsigned integer.Area(s) with issue?
No response
Steps to reproduce
Attachments
Originally reported by @lordmarcel in https://discord.com/channels/601789725090643968/601794846658789377/1008763582185472031
(Discord server "Marcel's Hangout," channel "video-discussion," message dated August 15, 2022)
See also https://youtu.be/OmaRN8SVhfQ?t=425