summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'train_gui.c')
-rw-r--r--train_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c
index 3ffed34de..65424d228 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -1115,7 +1115,7 @@ static void TrainDetailsInfoTab(const Vehicle *v, int x, int y)
if (!(rvi->flags & RVI_WAGON)) {
SetDParam(0, GetCustomEngineName(v->engine_type));
- SetDParam(1, BASE_YEAR + v->build_year);
+ SetDParam(1, v->build_year);
SetDParam(2, v->value);
DrawString(x, y, STR_882C_BUILT_VALUE, 0x10);
} else {