mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix #4207: Scenario Editor freezes the game
Recent commits have caused the sprite spatial index to be uninitialised for the editor modes. Call eset_sprite_spatial_index within eset_sprite_list as the two come hand in hand.
This commit is contained in:
@@ -128,6 +128,8 @@ void reset_sprite_list()
|
||||
}
|
||||
|
||||
gSpriteListCount[SPRITE_LIST_NULL] = MAX_SPRITES;
|
||||
|
||||
reset_sprite_spatial_index();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user