mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-24 08:01:33 +00:00
(svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron
This commit is contained in:
parent
6e142d523e
commit
9cde836d08
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user