changeset 3270 | a9bed87794a2 |
parent 3269 | 62fb247bf94b |
child 3271 | 114243e3465f |
--- a/rail_cmd.c Sun Mar 19 13:48:08 2006 +0000 +++ b/rail_cmd.c Sun Mar 19 14:43:23 2006 +0000 @@ -1991,7 +1991,7 @@ return ret; } else { if (GetRailTileSubtype(tile) == RAIL_SUBTYPE_DEPOT) { - return 0; + return (DiagDirToAxis(GetRailDepotDirection(tile)) == AXIS_X ? TRACK_BIT_X : TRACK_BIT_Y) * 0x101; } else { return GetRailWaypointBits(tile) * 0x101; }