summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-01-30 16:27:35 +0000
committerterkhen <terkhen@openttd.org>2010-01-30 16:27:35 +0000
commit272f2cd93e2e979d742bc48e24d5d2ed7066a98d (patch)
tree84f5ecc3f95d2e875c7d8a9d32e4e2b6a7d8fc2b /src/build_vehicle_gui.cpp
parent815eede0be2fda9b3ab1fb312bd9e5e1e407894a (diff)
downloadopenttd-272f2cd93e2e979d742bc48e24d5d2ed7066a98d.tar.xz
(svn r18963) -Codechange: Give AccelerationModel a generical name.
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r--src/build_vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp
index b98792e45..a68ab9f23 100644
--- a/src/build_vehicle_gui.cpp
+++ b/src/build_vehicle_gui.cpp
@@ -479,7 +479,7 @@ static int DrawRailEnginePurchaseInfo(int left, int right, int y, EngineID engin
y += FONT_HEIGHT_NORMAL;
/* Max tractive effort - not applicable if old acceleration or maglev */
- if (_settings_game.vehicle.train_acceleration_model != TAM_ORIGINAL && GetRailTypeInfo(rvi->railtype)->acceleration_type != 2) {
+ if (_settings_game.vehicle.train_acceleration_model != AM_ORIGINAL && GetRailTypeInfo(rvi->railtype)->acceleration_type != 2) {
SetDParam(0, e->GetDisplayMaxTractiveEffort());
DrawString(left, right, y, STR_PURCHASE_INFO_MAX_TE);
y += FONT_HEIGHT_NORMAL;