summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-19 21:02:30 +0000
committerskidd13 <skidd13@openttd.org>2007-11-19 21:02:30 +0000
commit71c4325c50ae594a5adf01cac7c9e527b239cdcb (patch)
tree21212e0b25777aac62f30d88b981e2bd624c4616 /src/settings.cpp
parent58bb5c752568f8f9a1cb4d9533268d0ecad34e12 (diff)
downloadopenttd-71c4325c50ae594a5adf01cac7c9e527b239cdcb.tar.xz
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 082495c03..aab88256e 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -570,7 +570,7 @@ static void make_manyofmany(char *buf, const char *many, uint32 x)
start = many;
while (*many != 0 && *many != '|') many++; // advance to the next element
- if (HASBIT(x, 0)) { // item found, copy it
+ if (HasBit(x, 0)) { // item found, copy it
if (!init) *buf++ = '|';
init = false;
if (start == many) {
@@ -1670,9 +1670,9 @@ static GRFConfig *GRFLoadConfig(IniFile *ini, const char *grpname, bool is_stati
if (c->status == GCS_NOT_FOUND) {
msg = "not found";
- } else if (HASBIT(c->flags, GCF_UNSAFE)) {
+ } else if (HasBit(c->flags, GCF_UNSAFE)) {
msg = "unsafe for static use";
- } else if (HASBIT(c->flags, GCF_SYSTEM)) {
+ } else if (HasBit(c->flags, GCF_SYSTEM)) {
msg = "system NewGRF";
} else {
msg = "unknown";