summaryrefslogtreecommitdiff
path: root/src/road.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-11-04 22:47:34 +0000
committertruelight <truelight@openttd.org>2007-11-04 22:47:34 +0000
commitf1df43ec2154c513942469f146e3da1618837d36 (patch)
tree3f3cf6fdd8b19411c70fc99e7dc1456cbc7f798e /src/road.cpp
parent74ee13aba89f78df25066ee15c46fa682d6a1408 (diff)
downloadopenttd-f1df43ec2154c513942469f146e3da1618837d36.tar.xz
(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13)
Diffstat (limited to 'src/road.cpp')
-rw-r--r--src/road.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road.cpp b/src/road.cpp
index ae806647f..20472cac9 100644
--- a/src/road.cpp
+++ b/src/road.cpp
@@ -42,7 +42,7 @@ RoadBits CleanUpRoadBits(const TileIndex tile, RoadBits org_rb)
/* Accept only connective tiles */
connective = (neighbor_rb & mirrored_rb) || // Neighbor has got the fitting RoadBit
- COUNTBITS(neighbor_rb) == 1; // Neighbor has got only one Roadbit
+ CountBits(neighbor_rb) == 1; // Neighbor has got only one Roadbit
} break;