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

@@ -3191,7 +3191,7 @@ void SetMouseCursorVehicle(const Vehicle *v, EngineImageType image_type)
VehicleSpriteSeq seq;
if (rotor_seq) {
GetCustomRotorSprite(Aircraft::From(v), true, image_type, &seq);
GetCustomRotorSprite(Aircraft::From(v), image_type, &seq);
if (!seq.IsValid()) seq.Set(SPR_ROTOR_STOPPED);
y_offset = - ScaleGUITrad(5);
} else {