forked from rosebudai/OpenRCT2-Web
Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes
This commit is contained in:
1 parent
67b61478cf
commit
ac6e4fc0d6
30 files changed
+45
-43
No files matched your search
@@ -1266,7 +1266,7 @@ static int32_t cc_show_limits(InteractiveConsole& console, [[maybe_unused]] cons
|
||||
}
|
||||
}
|
||||
|
||||
console.WriteFormatLine("Sprites: %d/%d", spriteCount, MAX_SPRITES);
|
||||
console.WriteFormatLine("Sprites: %d/%d", spriteCount, MAX_ENTITIES);
|
||||
console.WriteFormatLine("Map Elements: %d/%d", tileElementCount, MAX_TILE_ELEMENTS);
|
||||
console.WriteFormatLine("Banners: %d/%zu", bannerCount, MAX_BANNERS);
|
||||
console.WriteFormatLine("Rides: %d/%d", rideCount, MAX_RIDES);
|
||||
@@ -1589,7 +1589,7 @@ static int32_t cc_mp_desync(InteractiveConsole& console, const arguments_t& argv
|
||||
|
||||
std::vector<Peep*> peeps;
|
||||
|
||||
for (int i = 0; i < MAX_SPRITES; i++)
|
||||
for (int i = 0; i < MAX_ENTITIES; i++)
|
||||
{
|
||||
auto* sprite = GetEntity(i);
|
||||
if (sprite == nullptr || sprite->sprite_identifier == SpriteIdentifier::Null)
|
||||
|
||||
Reference in new issue
Block a user