diff options
author | celestar <celestar@openttd.org> | 2005-03-25 11:03:05 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-03-25 11:03:05 +0000 |
commit | 9cde836d085ddfb00ee254e110c5bc5ab0582a46 (patch) | |
tree | 22621175cc9a85773b2e3bcdc28c4a0b9f915e11 | |
parent | 6e142d523edcd9c96680593bc0bb4a20d23e8211 (diff) | |
download | openttd-9cde836d085ddfb00ee254e110c5bc5ab0582a46.tar.xz |
(svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron
-rw-r--r-- | train_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |