diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-19 21:02:30 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-19 21:02:30 +0000 |
commit | c0a2c0c23e129cb81400c5204fc9d0eedd9afb85 (patch) | |
tree | 21212e0b25777aac62f30d88b981e2bd624c4616 /src/npf.cpp | |
parent | 7a4d96f629a9bd447846f8569fad78cf8e5196c5 (diff) | |
download | openttd-c0a2c0c23e129cb81400c5204fc9d0eedd9afb85.tar.xz |
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Diffstat (limited to 'src/npf.cpp')
-rw-r--r-- | src/npf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/npf.cpp b/src/npf.cpp index 0afee79b0..af42bcb9e 100644 --- a/src/npf.cpp +++ b/src/npf.cpp @@ -602,7 +602,7 @@ static void NPFFollowTrack(AyStar* aystar, OpenListNode* current) /* check correct rail type (mono, maglev, etc) */ if (type == TRANSPORT_RAIL) { RailType dst_type = GetTileRailType(dst_tile); - if (!HASBIT(aystar->user_data[NPF_RAILTYPES], dst_type)) + if (!HasBit(aystar->user_data[NPF_RAILTYPES], dst_type)) return; } |