# HG changeset patch # User celestar # Date 1111748585 0 # Node ID 1da3dae846b75f945ff9b02fa0519e113f25a4d7 # Parent b1c7df6daa63c68c832942a823ce8d3418c846a7 (svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron diff -r b1c7df6daa63 -r 1da3dae846b7 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;