(svn r3795) Add a function to request the orientation of a depot

This commit is contained in:
tron
2006-03-08 15:29:23 +00:00
parent 7bce62899c
commit 463cf2ec6b
4 changed files with 22 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ RoadBits GetAnyRoadBits(TileIndex tile)
default:
case ROAD_NORMAL: return GetRoadBits(tile);
case ROAD_CROSSING: return GetCrossingRoadBits(tile);
case ROAD_DEPOT: return DiagDirToRoadBits(GB(_m[tile].m5, 0, 2));
case ROAD_DEPOT: return DiagDirToRoadBits(GetRoadDepotDirection(tile));
}
case MP_STATION: