Fix number of free sprites on SV6 import

This commit is contained in:
Michael Steenbeek 2018-12-01 17:34:02 +01:00 committed by GitHub
parent ebd4e8f5d6
commit 3c63402e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -223,6 +223,9 @@ public:
gSpriteListHead[i] = _s6.sprite_lists_head[i];
gSpriteListCount[i] = _s6.sprite_lists_count[i];
}
// This list contains the number of free slots. Increase it according to our own sprite limit.
gSpriteListCount[SPRITE_LIST_NULL] += (MAX_SPRITES - RCT2_MAX_SPRITES);
gParkName = _s6.park_name;
// pad_013573D6
gParkNameArgs = _s6.park_name_args;