Codechange: make EngineImageType a scoped enum (#15755)

This commit is contained in:
Peter Nelson
2026-06-21 09:05:41 +01:00
committed by GitHub
parent a57eb70e05
commit 9f49ea4177
15 changed files with 54 additions and 54 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ void Ship::GetImage(Direction direction, EngineImageType image_type, VehicleSpri
{
uint8_t spritenum = this->spritenum;
if (image_type == EIT_ON_MAP) direction = this->rotation;
if (image_type == EngineImageType::OnMap) direction = this->rotation;
if (IsCustomVehicleSpriteNum(spritenum)) {
GetCustomVehicleSprite(this, direction, image_type, result);