summaryrefslogtreecommitdiff
path: root/npf.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-04 11:35:52 +0000
committercelestar <celestar@openttd.org>2006-04-04 11:35:52 +0000
commit8b151d8faa1c059ec874427c1d25f5783eeee6d4 (patch)
treee6e0b22a7932338beafa21c661c109ec9a1de75b /npf.c
parentcc0ffe658224ca45262affab3df0c5900f084d05 (diff)
downloadopenttd-8b151d8faa1c059ec874427c1d25f5783eeee6d4.tar.xz
(svn r4272) -Codechange: Moved the map-accessing stuff from station.h into station_map.h
Diffstat (limited to 'npf.c')
-rw-r--r--npf.c2
1 files changed, 1 insertions, 1 deletions
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 */