From 602e5670745bf40f9a9a8946e37ba739540eb501 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 8 Mar 2006 20:25:28 +0000 Subject: (svn r3798) Fix typo in r3795 --- roadveh_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2