1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

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

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;