Changeset - r1552:11ee6de84696
[Not reviewed]
master
0 1 0
celestar - 20 years ago 2005-03-25 11:03:05
celestar@openttd.org
(svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
train_cmd.c
Show inline comments
 
@@ -2037,13 +2037,13 @@ static void TrainEnterStation(Vehicle *v
 
			v->index,
 
			0);
 
	}
 

	
 
	// Did we reach the final destination?
 
	if (v->current_order.type == OT_GOTO_STATION &&
 
			v->current_order.station == (byte)station) {
 
			v->current_order.station == station) {
 
		// Yeah, keep the load/unload flags
 
		// Non Stop now means if the order should be increased.
 
		v->current_order.type = OT_LOADING;
 
		v->current_order.flags &= OF_FULL_LOAD | OF_UNLOAD;
 
		v->current_order.flags |= OF_NON_STOP;
 
	} else {
0 comments (0 inline, 0 general)