summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 42000164b..8d07cb0dc 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -110,7 +110,7 @@ void DrawAircraftEngine(int x, int y, EngineID engine, uint32 image_ormod)
int sprite = (6 + _aircraft_sprite[spritenum]);
if (is_custom_sprite(spritenum)) {
- sprite = GetCustomVehicleIcon(engine, 6);
+ sprite = GetCustomVehicleIcon(engine, DIR_W);
if (!sprite)
spritenum = orig_aircraft_vehicle_info[engine - AIRCRAFT_ENGINES_INDEX].image_index;
}