mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +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:
@@ -169,7 +169,7 @@ void S6Importer::Import()
|
||||
memcpy(gMapElements, _s6.map_elements, sizeof(_s6.map_elements));
|
||||
|
||||
RCT2_GLOBAL(0x0010E63B8, uint32) = _s6.dword_010E63B8;
|
||||
memcpy(g_sprite_list, _s6.sprites, sizeof(_s6.sprites));
|
||||
memcpy(get_sprite(0), _s6.sprites, sizeof(_s6.sprites));
|
||||
|
||||
for (int i = 0; i < NUM_SPRITE_LISTS; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user