Fix #21208: Error messages disappear too quickly if the game runs for a while (#21394)

* Reset gCurrentRealTimeTicks when the map is initialized

* Use 32 bit for gWindowUpdateTicks

* Update changelog.txt
This commit is contained in:
Matt authored and GitHub committed 2024-02-13 16:03:30 -03:00
1 parent 5ac347e9f6
commit 19be093569
4 files changed
+4 -2

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
- Improved: [#21356] Resize the title bar when moving between displays with different scaling factors on Windows systems.
- Fix: [#18963] Research table in parks from Loopy Landscapes is imported incorrectly.
- Fix: [#20907] RCT1/AA scenarios use the 4-across train for the Inverted Roller Coaster.
- Fix: [#21208] Error message will stay open only for a brief moment when the game has been running a while.
- Fix: [#21220] When creating a new park from a SC4 file, the localised park name is not applied.
- Fix: [#21286] Cannot build unbanking turns with RCT1 vehicles.
- Fix: [#21330] Tooltips from dropdown widgets have the wrong position.
+1
View File
@@ -542,6 +542,7 @@ void GameLoadInit()
ContextBroadcastIntent(&intent);
gWindowUpdateTicks = 0;
gCurrentRealTimeTicks = 0;
LoadPalette();
+1 -1
View File
@@ -49,7 +49,7 @@ int32_t gTextBoxFrameNo = 0;
bool gUsingWidgetTextBox = false;
TextInputSession* gTextInput;
uint16_t gWindowUpdateTicks;
uint32_t gWindowUpdateTicks;
uint16_t gWindowMapFlashingFlags;
colour_t gCurrentWindowColours[4];
+1 -1
View File
@@ -480,7 +480,7 @@ using close_callback = void (*)();
extern WindowBase* gWindowAudioExclusive;
extern uint16_t gWindowUpdateTicks;
extern uint32_t gWindowUpdateTicks;
namespace MapFlashingFlags
{
constexpr uint16_t GuestListOpen = (1 << 0);