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