diff options
author | peter1138 <peter1138@openttd.org> | 2007-06-25 14:46:32 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-06-25 14:46:32 +0000 |
commit | d69589b3c2c1844a966ea47c568f27b86d60ce8a (patch) | |
tree | aa01bc9f5e83f354abe440316e280459e85e0fa9 /src/aircraft_gui.cpp | |
parent | eb6594caa840da0b4d8a16154cc2c0353d3eb238 (diff) | |
download | openttd-d69589b3c2c1844a966ea47c568f27b86d60ce8a.tar.xz |
(svn r10324) -Codechange: reference engine names by index
Diffstat (limited to 'src/aircraft_gui.cpp')
-rw-r--r-- | src/aircraft_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_gui.cpp b/src/aircraft_gui.cpp index 85ba43443..7890a8fd4 100644 --- a/src/aircraft_gui.cpp +++ b/src/aircraft_gui.cpp @@ -136,7 +136,7 @@ static void AircraftDetailsWndProc(Window *w, WindowEvent *e) do { if (IsNormalAircraft(v)) { - SetDParam(0, GetCustomEngineName(v->engine_type)); + SetDParam(0, v->engine_type); SetDParam(1, v->build_year); SetDParam(2, v->value); DrawString(60, y, STR_A011_BUILT_VALUE, 0); |