summaryrefslogtreecommitdiff
path: root/roadveh_gui.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-20 19:05:28 +0000
committerrubidium <rubidium@openttd.org>2006-08-20 19:05:28 +0000
commit893d4ba9d4040b098bc6e0ac04068cda8ff608a2 (patch)
tree32670a1d6837e9b4789cc69398c1777482037940 /roadveh_gui.c
parent9e755051a1ca02029c4279e7588553a9d9dc54f2 (diff)
downloadopenttd-893d4ba9d4040b098bc6e0ac04068cda8ff608a2.tar.xz
(svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant.
Diffstat (limited to 'roadveh_gui.c')
-rw-r--r--roadveh_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c
index e428014cf..dd9e52544 100644
--- a/roadveh_gui.c
+++ b/roadveh_gui.c
@@ -216,7 +216,7 @@ static void RoadVehDetailsWndProc(Window *w, WindowEvent *e)
DrawRoadVehImage(v, 3, 57, INVALID_VEHICLE);
SetDParam(0, GetCustomEngineName(v->engine_type));
- SetDParam(1, BASE_YEAR + v->build_year);
+ SetDParam(1, v->build_year);
SetDParam(2, v->value);
DrawString(34, 57, STR_9011_BUILT_VALUE, 0);