1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Fix compilation on MSVC

This commit is contained in:
Michał Janiszewski
2017-07-07 07:56:45 +02:00
parent a3414502a6
commit 8d02ce37b5

View File

@@ -959,7 +959,7 @@ sint32 check_for_sprite_list_cycles(bool fix)
sint32 fix_disjoint_sprites()
{
// Find reachable sprites
bool reachable[MAX_SPRITES] = {};
bool reachable[MAX_SPRITES] = { false };
uint16 sprite_idx = gSpriteListHead[SPRITE_LIST_NULL];
rct_sprite * null_list_tail = NULL;
while (sprite_idx != SPRITE_INDEX_NULL)