Changeset - r15400:e7c5e8bb5763
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-07-02 19:54:29
rubidium@openttd.org
(svn r20053) -Fix [FS#3919] (r20034): crashing road vehicles crashed OpenTTD with slower/longer trains
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/roadveh_cmd.cpp
Show inline comments
 
@@ -1569,10 +1569,8 @@ static bool RoadVehController(RoadVehicl
 
	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);
 
	}
 

	
0 comments (0 inline, 0 general)