diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
commit | 3ae50673a3e1e64a6038c53570c5ee168073e038 (patch) | |
tree | 51f15a2e52f58ea4446467086c5441cebe4324bf /src/newgrf_config.cpp | |
parent | 795174edf13e99cdef7eda73fbc088e2b06df051 (diff) | |
download | openttd-3ae50673a3e1e64a6038c53570c5ee168073e038.tar.xz |
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r-- | src/newgrf_config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp index 4d9de7489..8a26ad40f 100644 --- a/src/newgrf_config.cpp +++ b/src/newgrf_config.cpp @@ -137,7 +137,7 @@ GRFConfig **CopyGRFConfigList(GRFConfig **dst, const GRFConfig *src, bool init_o } ClrBit(c->flags, GCF_INIT_ONLY); - if (init_only) SETBIT(c->flags, GCF_INIT_ONLY); + if (init_only) SetBit(c->flags, GCF_INIT_ONLY); *dst = c; dst = &c->next; @@ -234,7 +234,7 @@ GRFListCompatibility IsGoodGRFConfigList() if (f != NULL) { md5sumToString(buf, lastof(buf), c->md5sum); DEBUG(grf, 1, "NewGRF %08X (%s) not found; checksum %s. Compatibility mode on", BSWAP32(c->grfid), c->filename, buf); - SETBIT(c->flags, GCF_COMPATIBLE); + SetBit(c->flags, GCF_COMPATIBLE); /* Non-found has precedence over compatibility load */ if (res != GLC_NOT_FOUND) res = GLC_COMPATIBLE; |