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 | 76874f34bf7e9f6c49751afd7c5afca2850a7c11 (patch) | |
tree | aa01bc9f5e83f354abe440316e280459e85e0fa9 /src/aircraft_gui.cpp | |
parent | 8ee9e8bf1e0b7c9fe9e9a41044e52f4e0e973634 (diff) | |
download | openttd-76874f34bf7e9f6c49751afd7c5afca2850a7c11.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); |