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, 4 insertions, 0 deletions
diff --git a/ship_gui.c b/ship_gui.c
index 93cd990f1..69b53fd38 100644
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -62,6 +62,10 @@ void DrawShipPurchaseInfo(int x, int y, EngineID engine_number)
SetDParam(0, e->reliability * 100 >> 16);
DrawString(x,y, STR_PURCHASE_INFO_RELIABILITY, 0);
y += 10;
+
+ /* Additional text from NewGRF */
+ // XXX 227 will become a calculated width...
+ y += ShowAdditionalText(x, y, 227, engine_number);
}
static void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection)