mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-23 15:44:43 +00:00
(svn r3798) Fix typo in r3795
This commit is contained in:
parent
2bd2f75de2
commit
602e567074
@ -1082,7 +1082,7 @@ static int RoadFindPathToDest(Vehicle* v, TileIndex tile, DiagDirection enterdir
|
|||||||
} else if (IsTileType(desttile, MP_STATION)) {
|
} else if (IsTileType(desttile, MP_STATION)) {
|
||||||
if (IS_BYTE_INSIDE(_m[desttile].m5, 0x43, 0x4B)) {
|
if (IS_BYTE_INSIDE(_m[desttile].m5, 0x43, 0x4B)) {
|
||||||
/* We are heading for a station */
|
/* We are heading for a station */
|
||||||
dir = GetRoadStationDir(tile);
|
dir = GetRoadStationDir(desttile);
|
||||||
do_it:;
|
do_it:;
|
||||||
/* When we are heading for a depot or station, we just
|
/* When we are heading for a depot or station, we just
|
||||||
* pretend we are heading for the tile in front, we'll
|
* pretend we are heading for the tile in front, we'll
|
||||||
|
Loading…
Reference in New Issue
Block a user