From 8b151d8faa1c059ec874427c1d25f5783eeee6d4 Mon Sep 17 00:00:00 2001 From: celestar Date: Tue, 4 Apr 2006 11:35:52 +0000 Subject: (svn r4272) -Codechange: Moved the map-accessing stuff from station.h into station_map.h --- npf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npf.c') diff --git a/npf.c b/npf.c index 3d1e6c145..5959ba947 100644 --- a/npf.c +++ b/npf.c @@ -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 */ -- cgit v1.2.3-70-g09d2