train_cmd.c
changeset 1552 c2ec4a790700
parent 1551 eb05e6a90e67
child 1554 c0b2287254f4
--- a/train_cmd.c	Fri Mar 25 10:40:58 2005 +0000
+++ b/train_cmd.c	Fri Mar 25 11:03:05 2005 +0000
@@ -2040,7 +2040,7 @@
 
 	// 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;