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
commit6246150d8d950145ee5c8e70993280d722123da0 (patch)
tree22621175cc9a85773b2e3bcdc28c4a0b9f915e11
parent0cec2577970047dc2f0a725a663f140205fb13cf (diff)
downloadopenttd-6246150d8d950145ee5c8e70993280d722123da0.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;