(svn r10474) -Fix [FS#995]: wrong group count after train crash.

This commit is contained in:
rubidium 2007-07-08 09:29:28 +00:00
parent 8b54aab214
commit 7ba2e75f3e

View File

@ -3029,8 +3029,6 @@ static void DeleteLastWagon(Vehicle *v)
BeginVehicleMove(v);
EndVehicleMove(v);
if (IsFrontEngine(v)) RemoveVehicleFromGroup(v);
DeleteVehicle(v);
if (v->u.rail.track != TRACK_BIT_DEPOT && v->u.rail.track != TRACK_BIT_WORMHOLE)