ship_gui.c
changeset 3049 b797ca543c13
parent 3040 c3473d1fb81f
child 3157 40de8616c04c
--- a/ship_gui.c	Mon Feb 20 19:58:46 2006 +0000
+++ b/ship_gui.c	Mon Feb 20 21:49:31 2006 +0000
@@ -65,9 +65,7 @@
 
 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);