summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2012-01-12 19:23:00 +0000
committeryexo <yexo@openttd.org>2012-01-12 19:23:00 +0000
commit21c2f9377db059aababc1a2a74acfade77808512 (patch)
tree0345481d25e541ad7c341991d2ce42c22735a641
parentb1a830491aa01218cf0ec699269bd5d6a107f6f8 (diff)
downloadopenttd-21c2f9377db059aababc1a2a74acfade77808512.tar.xz
(svn r23792) -Feature [FS#4958]: move 'refitable to' text above custom newgrf text in build vehicle gui
-rw-r--r--src/build_vehicle_gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp
index 11d73a8c7..93d229184 100644
--- a/src/build_vehicle_gui.cpp
+++ b/src/build_vehicle_gui.cpp
@@ -847,9 +847,10 @@ int DrawVehiclePurchaseInfo(int left, int right, int y, EngineID engine_number)
y += FONT_HEIGHT_NORMAL;
}
+ if (refittable) y = ShowRefitOptionsList(left, right, y, engine_number);
+
/* Additional text from NewGRF */
y = ShowAdditionalText(left, right, y, engine_number);
- if (refittable) y = ShowRefitOptionsList(left, right, y, engine_number);
return y;
}