Fix #13701: Use correct max zoom level for peeps on invalidation

This commit is contained in:
ζeh Matt 2021-01-05 19:24:52 +02:00 committed by GitHub
parent cdafc9c8ec
commit 12c6854a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -139,10 +139,8 @@ void SpriteBase::Invalidate()
switch (sprite_identifier)
{
case SpriteIdentifier::Vehicle:
maxZoom = 2;
break;
case SpriteIdentifier::Peep:
maxZoom = 0;
maxZoom = 2;
break;
case SpriteIdentifier::Misc:
switch (static_cast<MiscEntityType>(type))