(svn r2273) -Fix: Road vehicles no longer try to obtain a slot when they have crashed. (peter1138)
This commit is contained in:
		@@ -1634,7 +1634,7 @@ void OnNewDay_RoadVeh(Vehicle *v)
 | 
				
			|||||||
	CheckOrders(v->index, OC_INIT);
 | 
						CheckOrders(v->index, OC_INIT);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* update destination */
 | 
						/* update destination */
 | 
				
			||||||
	if (v->current_order.type == OT_GOTO_STATION) {
 | 
						if (v->current_order.type == OT_GOTO_STATION && !(v->vehstatus & VS_CRASHED)) {
 | 
				
			||||||
		RoadStop *rs;
 | 
							RoadStop *rs;
 | 
				
			||||||
		uint32 mindist = 0xFFFFFFFF;
 | 
							uint32 mindist = 0xFFFFFFFF;
 | 
				
			||||||
		int num;
 | 
							int num;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user