(svn r4272) -Codechange: Moved the map-accessing stuff from station.h into station_map.h

This commit is contained in:
celestar
2006-04-04 11:35:52 +00:00
parent cc0ffe6582
commit 8b151d8faa
5 changed files with 23 additions and 22 deletions

2
npf.c
View File

@@ -457,7 +457,7 @@ static void NPFSaveTargetData(AyStar* as, OpenListNode* current)
static bool VehicleMayEnterTile(Owner owner, TileIndex tile, DiagDirection enterdir)
{
if (IsTileType(tile, MP_RAILWAY) || /* Rail tile (also rail depot) */
IsTrainStationTile(tile) || /* Rail station tile */
IsRailwayStationTile(tile) || /* Rail station tile */
IsTileDepotType(tile, TRANSPORT_ROAD) || /* Road depot tile */
IsRoadStopTile(tile) || /* Road station tile */
IsTileDepotType(tile, TRANSPORT_WATER)) { /* Water depot tile */