summaryrefslogtreecommitdiff
path: root/ship_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_gui.c')
-rw-r--r--ship_gui.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ship_gui.c b/ship_gui.c
index 394438c20..b46dfa62d 100644
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -65,9 +65,7 @@ void DrawShipPurchaseInfo(int x, int y, EngineID engine_number)
static void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection)
{
- int image = GetShipImage(v, 6);
- uint32 ormod = GetVehiclePalette(v);
- DrawSprite(image | ormod, x + 32, y + 10);
+ DrawSprite(GetShipImage(v, 6) | GetVehiclePalette(v), x + 32, y + 10);
if (v->index == selection) {
DrawFrameRect(x - 5, y - 1, x + 67, y + 21, 15, FR_BORDERONLY);