mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
* Fix: MusicObjects do not free their preview images * Update changelog * remove unneeded preview check on MusicObject
This commit is contained in:
committed by
GitHub
parent
19f0e202a8
commit
d6027a111a
@@ -26,6 +26,7 @@
|
||||
- Fix: [#19112] Text boxes not updated with empty strings in Track List, Server List, and Start Server windows.
|
||||
- Fix: [#19114] [Plugin] GameActionResult does not comply to API specification.
|
||||
- Fix: [#19136] SV6 saves with experimental RCT1 paths not imported correctly.
|
||||
- Fix: [#19250] MusicObjects do not free their preview images
|
||||
|
||||
0.4.3 (2022-12-14)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -80,6 +80,10 @@ void MusicObject::Load()
|
||||
void MusicObject::Unload()
|
||||
{
|
||||
LanguageFreeObjectString(NameStringId);
|
||||
GfxObjectFreeImages(_previewImageId, GetImageTable().GetCount());
|
||||
|
||||
_hasPreview = false;
|
||||
_previewImageId = 0;
|
||||
NameStringId = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user