diff options
author | tron <tron@openttd.org> | 2006-06-04 09:28:33 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-06-04 09:28:33 +0000 |
commit | 9ee944cabb0a716514175b37311819b439be0298 (patch) | |
tree | 6608f31fde29931d1c8c939c55782cc8de75c8fb /train_cmd.c | |
parent | 6b1f0d610caf131b5a597abd38c9b272c179d59a (diff) | |
download | openttd-9ee944cabb0a716514175b37311819b439be0298.tar.xz |
(svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
Diffstat (limited to 'train_cmd.c')
-rw-r--r-- | train_cmd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/train_cmd.c b/train_cmd.c index d8468da91..c801668d8 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -626,7 +626,6 @@ static int32 CmdBuildRailWagon(EngineID engine, TileIndex tile, uint32 flags) AddArticulatedParts(rvi, vl); - _new_wagon_id = v->index; _new_vehicle_id = v->index; VehiclePositionChanged(v); @@ -776,7 +775,6 @@ int32 CmdBuildRailVehicle(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) v->string_id = STR_SV_TRAIN_NAME; v->u.rail.railtype = e->railtype; - _new_train_id = v->index; _new_vehicle_id = v->index; v->service_interval = _patches.servint_trains; |