From 9cde836d085ddfb00ee254e110c5bc5ab0582a46 Mon Sep 17 00:00:00 2001 From: celestar Date: Fri, 25 Mar 2005 11:03:05 +0000 Subject: (svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron --- train_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train_cmd.c b/train_cmd.c index 7e18243a1..a99c6f5b4 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -2040,7 +2040,7 @@ static void TrainEnterStation(Vehicle *v, StationID station) // 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; -- cgit v1.2.3-70-g09d2