summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-06-04 09:28:33 +0000
committertron <tron@openttd.org>2006-06-04 09:28:33 +0000
commita0caafeb5075ca58232068b48050717f9cf02313 (patch)
tree6608f31fde29931d1c8c939c55782cc8de75c8fb /ship_cmd.c
parent9cf3badfcf4e99f20b8a751457ee76d22fc9f110 (diff)
downloadopenttd-a0caafeb5075ca58232068b48050717f9cf02313.tar.xz
(svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 4c4171866..e86aae54a 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -890,7 +890,6 @@ int32 CmdBuildShip(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
v->reliability = e->reliability;
v->reliability_spd_dec = e->reliability_spd_dec;
v->max_age = e->lifelength * 366;
- _new_ship_id = v->index;
_new_vehicle_id = v->index;
v->string_id = STR_SV_SHIP_NAME;