Changeset - r6554:e49f22b4b656
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-04-29 22:51:12
rubidium@openttd.org
(svn r9756) -Fix [FS#755]: LeaveStation wasn't always called when a station was left.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/train_cmd.cpp
Show inline comments
 
@@ -3448,6 +3448,8 @@ static void CheckIfTrainNeedsService(Veh
 
		return;
 
	}
 

	
 
	if (v->current_order.type == OT_LOADING) v->LeaveStation();
 

	
 
	v->current_order.type = OT_GOTO_DEPOT;
 
	v->current_order.flags = OF_NON_STOP;
 
	v->current_order.dest = depot->index;
0 comments (0 inline, 0 general)