summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authororudge <orudge@openttd.org>2005-05-30 10:18:18 +0000
committerorudge <orudge@openttd.org>2005-05-30 10:18:18 +0000
commite06c121d78e4ee8d81dd519b8f9b97366153c52c (patch)
treeff7490f4e10abd4b75cbb1fd5efa6e91889b6263 /aircraft_cmd.c
parent98b3840a3eef8b60da452e348cfcc5173fc1a8cd (diff)
downloadopenttd-e06c121d78e4ee8d81dd519b8f9b97366153c52c.tar.xz
(svn r2380) - Fix: Build year for mail compartment of planes was not set correctly, affected station ratings (Asterix_)
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 691005349..c6cf89282 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -295,7 +295,7 @@ int32 CmdBuildAircraft(int x, int y, uint32 flags, uint32 p1, uint32 p2)
v->service_interval = _patches.servint_aircraft;
v->date_of_last_service = _date;
- v->build_year = _cur_year;
+ v->build_year = u->build_year = _cur_year;
v->cur_image = u->cur_image = 0xEA0;