summaryrefslogtreecommitdiff
path: root/aircraft_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
commit9ee944cabb0a716514175b37311819b439be0298 (patch)
tree6608f31fde29931d1c8c939c55782cc8de75c8fb /aircraft_cmd.c
parent6b1f0d610caf131b5a597abd38c9b272c179d59a (diff)
downloadopenttd-9ee944cabb0a716514175b37311819b439be0298.tar.xz
(svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index d8794b0b2..83cc43287 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -260,7 +260,6 @@ int32 CmdBuildAircraft(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
v->reliability_spd_dec = e->reliability_spd_dec;
v->max_age = e->lifelength * 366;
- _new_aircraft_id = v->index;
_new_vehicle_id = v->index;
v->u.air.pos = MAX_ELEMENTS;