1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 23:49:09 +00:00

(svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.

This commit is contained in:
tron
2006-06-04 09:28:33 +00:00
parent 9cf3badfcf
commit a0caafeb50
11 changed files with 18 additions and 28 deletions

View File

@@ -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;