mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 01:49:10 +00:00
(svn r10474) -Fix [FS#995]: wrong group count after train crash.
This commit is contained in:
@@ -3029,8 +3029,6 @@ static void DeleteLastWagon(Vehicle *v)
|
|||||||
BeginVehicleMove(v);
|
BeginVehicleMove(v);
|
||||||
EndVehicleMove(v);
|
EndVehicleMove(v);
|
||||||
|
|
||||||
if (IsFrontEngine(v)) RemoveVehicleFromGroup(v);
|
|
||||||
|
|
||||||
DeleteVehicle(v);
|
DeleteVehicle(v);
|
||||||
|
|
||||||
if (v->u.rail.track != TRACK_BIT_DEPOT && v->u.rail.track != TRACK_BIT_WORMHOLE)
|
if (v->u.rail.track != TRACK_BIT_DEPOT && v->u.rail.track != TRACK_BIT_WORMHOLE)
|
||||||
|
Reference in New Issue
Block a user