mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r20053) -Fix [FS#3919] (r20034): crashing road vehicles crashed OpenTTD with slower/longer trains
This commit is contained in:
parent
6709714f97
commit
eb19d4b440
|
@ -1569,10 +1569,8 @@ static bool RoadVehController(RoadVehicle *v)
|
|||
v->current_order_time++;
|
||||
if (v->reverse_ctr != 0) v->reverse_ctr--;
|
||||
|
||||
RoadVehCheckTrainCrash(v);
|
||||
|
||||
/* handle crashed */
|
||||
if (v->vehstatus & VS_CRASHED) {
|
||||
if (v->vehstatus & VS_CRASHED || RoadVehCheckTrainCrash(v)) {
|
||||
return RoadVehIsCrashed(v);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue