mirror of https://github.com/OpenTTD/OpenTTD
(svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron
parent
6e142d523e
commit
9cde836d08
|
@ -2040,7 +2040,7 @@ static void TrainEnterStation(Vehicle *v, StationID station)
|
||||||
|
|
||||||
// Did we reach the final destination?
|
// Did we reach the final destination?
|
||||||
if (v->current_order.type == OT_GOTO_STATION &&
|
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
|
// Yeah, keep the load/unload flags
|
||||||
// Non Stop now means if the order should be increased.
|
// Non Stop now means if the order should be increased.
|
||||||
v->current_order.type = OT_LOADING;
|
v->current_order.type = OT_LOADING;
|
||||||
|
|
Loading…
Reference in New Issue