# HG changeset patch # User celestar # Date 2005-03-25 11:03:05 # Node ID 11ee6de84696c78b5b59bbaed952f4b3338418c3 # Parent 252aaa58b02accd8b21d3a49fdc7d16ef4fdf3f0 (svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron diff --git a/train_cmd.c b/train_cmd.c --- a/train_cmd.c +++ b/train_cmd.c @@ -2040,7 +2040,7 @@ static void TrainEnterStation(Vehicle *v // 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;