forked from rosebudai/OpenRCT2-Web
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:
1 parent
690e0641b4
commit
bf4e3febeb
1 file changed
+2
@@ -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