equal
deleted
inserted
replaced
63 y += 10; |
63 y += 10; |
64 } |
64 } |
65 |
65 |
66 static void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection) |
66 static void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection) |
67 { |
67 { |
68 int image = GetShipImage(v, 6); |
68 DrawSprite(GetShipImage(v, 6) | GetVehiclePalette(v), x + 32, y + 10); |
69 uint32 ormod = GetVehiclePalette(v); |
|
70 DrawSprite(image | ormod, x + 32, y + 10); |
|
71 |
69 |
72 if (v->index == selection) { |
70 if (v->index == selection) { |
73 DrawFrameRect(x - 5, y - 1, x + 67, y + 21, 15, FR_BORDERONLY); |
71 DrawFrameRect(x - 5, y - 1, x + 67, y + 21, 15, FR_BORDERONLY); |
74 } |
72 } |
75 } |
73 } |