mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r3477) -Fix: a fix that fixed the last commit.. I shouldn't be committing here :)
This commit is contained in:
parent
524934bbf6
commit
8b8ef85ccb
|
@ -191,8 +191,6 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile)
|
||||||
Order order;
|
Order order;
|
||||||
int st_index;
|
int st_index;
|
||||||
|
|
||||||
order.station = INVALID_STATION;
|
|
||||||
|
|
||||||
// check depot first
|
// check depot first
|
||||||
if (_patches.gotodepot) {
|
if (_patches.gotodepot) {
|
||||||
switch (GetTileType(tile)) {
|
switch (GetTileType(tile)) {
|
||||||
|
@ -278,6 +276,7 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile)
|
||||||
// not found
|
// not found
|
||||||
order.type = OT_NOTHING;
|
order.type = OT_NOTHING;
|
||||||
order.flags = 0;
|
order.flags = 0;
|
||||||
|
order.station = INVALID_STATION;
|
||||||
return order;
|
return order;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue