Codechange: remove redundant 'info_view' parameter, it can be derived from 'image_type'.

This commit is contained in:
frosch
2021-10-22 21:46:55 +02:00
committed by frosch
parent bf0210229c
commit bc984d9af5
5 changed files with 8 additions and 7 deletions

View File

@@ -188,7 +188,7 @@ void GetRotorImage(const Aircraft *v, EngineImageType image_type, VehicleSpriteS
const Aircraft *w = v->Next()->Next();
if (is_custom_sprite(v->spritenum)) {
GetCustomRotorSprite(v, false, image_type, result);
GetCustomRotorSprite(v, image_type, result);
if (result->IsValid()) return;
}