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 | a0caafeb5075ca58232068b48050717f9cf02313 (patch) | |
tree | 6608f31fde29931d1c8c939c55782cc8de75c8fb /train_cmd.c | |
parent | 9cf3badfcf4e99f20b8a751457ee76d22fc9f110 (diff) | |
download | openttd-a0caafeb5075ca58232068b48050717f9cf02313.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; |