summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-19 21:32:20 +0000
committerskidd13 <skidd13@openttd.org>2007-11-19 21:32:20 +0000
commit6801cceda1cb1d81c627b6d30c19933d81179ce9 (patch)
tree7d43b1e4a7bf1344b1d4cfb2dc2618720a0040e8 /src/town_cmd.cpp
parentc0a2c0c23e129cb81400c5204fc9d0eedd9afb85 (diff)
downloadopenttd-6801cceda1cb1d81c627b6d30c19933d81179ce9.tar.xz
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 464685635..76677f9e2 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1849,9 +1849,9 @@ void ClearTownHouse(Town *t, TileIndex tile)
/* Clear flags for houses that only may exist once/town. */
if (hs->building_flags & BUILDING_IS_CHURCH) {
- CLRBIT(t->flags12, TOWN_HAS_CHURCH);
+ ClrBit(t->flags12, TOWN_HAS_CHURCH);
} else if (hs->building_flags & BUILDING_IS_STADIUM) {
- CLRBIT(t->flags12, TOWN_HAS_STADIUM);
+ ClrBit(t->flags12, TOWN_HAS_STADIUM);
}
/* Do the actual clearing of tiles */
@@ -2140,7 +2140,7 @@ static void UpdateTownGrowRate(Town *t)
}
}
- CLRBIT(t->flags12, TOWN_IS_FUNDED);
+ ClrBit(t->flags12, TOWN_IS_FUNDED);
if (_patches.town_growth_rate == 0 && t->fund_buildings_months == 0) return;
/** Towns are processed every TOWN_GROWTH_FREQUENCY ticks, and this is the