tr2/requester: fix stats dialog cloning

Resolves #1999.
This commit is contained in:
Marcin Kurczewski 2024-12-10 00:32:30 +01:00
parent 525ef9c569
commit 83681dd4b4
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A
2 changed files with 3 additions and 0 deletions

View file

@ -34,6 +34,7 @@
- fixed a softlock in Home Sweet Home if the final cutscene is triggered while Lara is on water surface (#1701) - fixed a softlock in Home Sweet Home if the final cutscene is triggered while Lara is on water surface (#1701)
- fixed Lara's left arm becoming stuck if a flare is drawn just before the final cutscene in Home Sweet Home (#1992) - fixed Lara's left arm becoming stuck if a flare is drawn just before the final cutscene in Home Sweet Home (#1992)
- fixed game crash when trying to draw too many rooms at once (#1998) - fixed game crash when trying to draw too many rooms at once (#1998)
- fixed resizing game window on the stats dialog cloning the UI elements, eventually crashing the game (#1999)
- removed unused detail level option - removed unused detail level option
## [0.6](https://github.com/LostArtefacts/TRX/compare/tr2-0.5...tr2-0.6) - 2024-11-06 ## [0.6](https://github.com/LostArtefacts/TRX/compare/tr2-0.5...tr2-0.6) - 2024-11-06

View file

@ -37,6 +37,8 @@ static void M_ClearTextStrings(REQUEST_INFO *const req)
void __cdecl Requester_Init(REQUEST_INFO *const req) void __cdecl Requester_Init(REQUEST_INFO *const req)
{ {
M_ClearTextStrings(req);
req->background_flags = 1; req->background_flags = 1;
req->moreup_flags = 1; req->moreup_flags = 1;
req->moredown_flags = 1; req->moredown_flags = 1;