changeset 3169:d2df8429c48c draft

(svn r3798) Fix typo in r3795
author tron <tron@openttd.org>
date Wed, 08 Mar 2006 20:25:28 +0000
parents ee5658ed56d4
children 9dd9b10d0308
files roadveh_cmd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -1082,7 +1082,7 @@
 		} 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