diff options
author | celestar <celestar@openttd.org> | 2006-04-12 08:28:03 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-04-12 08:28:03 +0000 |
commit | e79c36bf8c91fb53d092b7d4b94b5ed591b44710 (patch) | |
tree | e8c2d2e726c1585d8c76948b78e492631a8be2c6 /npf.c | |
parent | a8d4285ec28571394a38f7f17fdaa812fa505c8d (diff) | |
download | openttd-e79c36bf8c91fb53d092b7d4b94b5ed591b44710.tar.xz |
(svn r4376) -Codechange Renamed GetSignalState to GetSignalStateByTrackdir
Diffstat (limited to 'npf.c')
-rw-r--r-- | npf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -342,7 +342,7 @@ static int32 NPFRailPathCost(AyStar* as, AyStarNode* current, OpenListNode* pare /* Check for signals */ if (IsTileType(tile, MP_RAILWAY) && HasSignalOnTrackdir(tile, trackdir)) { /* Ordinary track with signals */ - if (GetSignalState(tile, trackdir) == SIGNAL_STATE_RED) { + if (GetSignalStateByTrackdir(tile, trackdir) == SIGNAL_STATE_RED) { /* Signal facing us is red */ if (!NPFGetFlag(current, NPF_FLAG_SEEN_SIGNAL)) { /* Penalize the first signal we |