# HG changeset patch # User tron # Date 1141849528 0 # Node ID 3761fbfeb1d1873c122f24968b6f937852feb77d # Parent 563c59bd28e0fd57200d7ff26269bd45bf6b2400 (svn r3798) Fix typo in r3795 diff -r 563c59bd28e0 -r 3761fbfeb1d1 roadveh_cmd.c --- a/roadveh_cmd.c Wed Mar 08 19:47:18 2006 +0000 +++ b/roadveh_cmd.c Wed Mar 08 20:25:28 2006 +0000 @@ -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