summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 1cc53d45c..5891fd2bf 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -24,7 +24,7 @@ void DrawShipEngine(int x, int y, int engine, uint32 image_ormod)
int spritenum = ship_vehicle_info(engine).image_index;
if (is_custom_sprite(spritenum)) {
- int sprite = GetCustomEngineSprite(engine, 0xffff, CID_PURCHASE, 0, 0, 6);
+ int sprite = GetCustomVehicleIcon(engine, 6);
if (sprite) {
DrawSprite(sprite | image_ormod, x, y);