mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 07:43:01 +01:00
Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes
This commit is contained in:
@@ -2141,7 +2141,7 @@ void window_init_all()
|
||||
|
||||
void window_follow_sprite(rct_window* w, size_t spriteIndex)
|
||||
{
|
||||
if (spriteIndex < MAX_SPRITES || spriteIndex == SPRITE_INDEX_NULL)
|
||||
if (spriteIndex < MAX_ENTITIES || spriteIndex == SPRITE_INDEX_NULL)
|
||||
{
|
||||
w->viewport_smart_follow_sprite = static_cast<uint16_t>(spriteIndex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user