(svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron
authorcelestar
Fri, 25 Mar 2005 11:03:05 +0000
changeset 1552 c2ec4a790700
parent 1551 eb05e6a90e67
child 1553 4976359e2bf9
(svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron
train_cmd.c
--- 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;