diff options
-rw-r--r-- | aircraft_cmd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c index 097641a66..d6661266a 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -144,8 +144,10 @@ void DrawAircraftEngine(int x, int y, EngineID engine, uint32 image_ormod) if (is_custom_sprite(spritenum)) { sprite = GetCustomVehicleIcon(engine, DIR_W); - if (!sprite) + if (sprite == 0) { spritenum = orig_aircraft_vehicle_info[engine - AIRCRAFT_ENGINES_INDEX].image_index; + sprite = (6 + _aircraft_sprite[spritenum]); + } } DrawSprite(sprite | image_ormod, x, y); |