summaryrefslogtreecommitdiff
path: root/ship_cmd.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 /ship_cmd.c
parent9e755051a1ca02029c4279e7588553a9d9dc54f2 (diff)
downloadopenttd-893d4ba9d4040b098bc6e0ac04068cda8ff608a2.tar.xz
(svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant.
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 5b74cd863..ac0492925 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -901,7 +901,7 @@ int32 CmdBuildShip(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
v->service_interval = _patches.servint_ships;
v->date_of_last_service = _date;
- v->build_year = _cur_year - BASE_YEAR;
+ v->build_year = _cur_year;
v->cur_image = 0x0E5E;
v->type = VEH_Ship;
v->random_bits = VehicleRandomBits();