mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
Refactor access to g_sprite_list
Hide g_sprite_list behind accessor function with a check. `assert` is temporarily disabled, as it breaks nearly every park.
This commit is contained in:
@@ -251,7 +251,7 @@ void S6Exporter::Export()
|
||||
memcpy(_s6.map_elements, gMapElements, sizeof(_s6.map_elements));
|
||||
|
||||
_s6.dword_010E63B8 = RCT2_GLOBAL(0x0010E63B8, uint32);
|
||||
memcpy(_s6.sprites, g_sprite_list, sizeof(_s6.sprites));
|
||||
memcpy(_s6.sprites, get_sprite(0), sizeof(_s6.sprites));
|
||||
|
||||
for (int i = 0; i < NUM_SPRITE_LISTS; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user