Changeset - r25090:381d0d107dda
[Not reviewed]
master
0 1 0
Mike - 3 years ago 2021-03-30 17:42:12
ipodappsrcool@gmail.com
Fix #8565: Stopped road vehicle displays a speed different than 0 (#8901)
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/roadveh_cmd.cpp
Show inline comments
 
@@ -1571,7 +1571,10 @@ static bool RoadVehController(RoadVehicl
 

	
 
	/* road vehicle has broken down? */
 
	if (v->HandleBreakdown()) return true;
 
	if (v->vehstatus & VS_STOPPED) return true;
 
	if (v->vehstatus & VS_STOPPED) {
 
		v->SetLastSpeed();
 
		return true;
 
	}
 

	
 
	ProcessOrders(v);
 
	v->HandleLoading();
0 comments (0 inline, 0 general)