diff options
author | tron <tron@openttd.org> | 2006-03-08 20:25:28 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-08 20:25:28 +0000 |
commit | 7803f259e23879ea0b568c9b403eb8dcd7bca959 (patch) | |
tree | 29c86df867cc94994f7900ff555db68c0350593c | |
parent | cf7b94254e3eb3734a88ba737231e3eaa57eec6a (diff) | |
download | openttd-7803f259e23879ea0b568c9b403eb8dcd7bca959.tar.xz |
(svn r3798) Fix typo in r3795
-rw-r--r-- | roadveh_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c index e00e60d1c..b8dc3f928 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -1082,7 +1082,7 @@ static int RoadFindPathToDest(Vehicle* v, TileIndex tile, DiagDirection enterdir } else if (IsTileType(desttile, MP_STATION)) { if (IS_BYTE_INSIDE(_m[desttile].m5, 0x43, 0x4B)) { /* We are heading for a station */ - dir = GetRoadStationDir(tile); + dir = GetRoadStationDir(desttile); do_it:; /* When we are heading for a depot or station, we just * pretend we are heading for the tile in front, we'll |