Raise maximum allowed misc entities to 1600

This commit is contained in:
ζeh Matt 2024-01-19 12:40:14 +02:00
parent b50f1c91d9
commit 6b9de0bb2f
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 2 additions and 1 deletions

View File

@ -275,7 +275,8 @@ static void EntityReset(EntityBase* entity)
entity->Type = EntityType::Null;
}
static constexpr uint16_t MAX_MISC_SPRITES = 300;
static constexpr uint16_t MAX_MISC_SPRITES = 1600;
static void AddToEntityList(EntityBase* entity)
{
auto& list = gEntityLists[EnumValue(entity->Type)];