1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 02:35:46 +01:00

Load and save sprites to S6 explicitly

This commit is contained in:
Michał Janiszewski
2016-07-18 00:23:33 +02:00
parent bc769ea248
commit 010422c7da
2 changed files with 8 additions and 2 deletions

View File

@@ -169,7 +169,10 @@ void S6Importer::Import()
memcpy(gMapElements, _s6.map_elements, sizeof(_s6.map_elements));
RCT2_GLOBAL(0x0010E63B8, uint32) = _s6.dword_010E63B8;
memcpy(get_sprite(0), _s6.sprites, sizeof(_s6.sprites));
for (int i = 0; i < MAX_SPRITES; i++)
{
memcpy(get_sprite(i), &_s6.sprites[i], sizeof(rct_sprite));
}
for (int i = 0; i < NUM_SPRITE_LISTS; i++)
{