summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-03-25 11:03:05 +0000
committercelestar <celestar@openttd.org>2005-03-25 11:03:05 +0000
commit9cde836d085ddfb00ee254e110c5bc5ab0582a46 (patch)
tree22621175cc9a85773b2e3bcdc28c4a0b9f915e11
parent6e142d523edcd9c96680593bc0bb4a20d23e8211 (diff)
downloadopenttd-9cde836d085ddfb00ee254e110c5bc5ab0582a46.tar.xz
(svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron
-rw-r--r--train_cmd.c2
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;