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
commit69b1d97c0348229bf1ff14a672d7e50aa3d9eb3f (patch)
tree3f3cf6fdd8b19411c70fc99e7dc1456cbc7f798e /src/road.cpp
parent3517ee6d54157541ad8c451a075b675c0b429506 (diff)
downloadopenttd-69b1d97c0348229bf1ff14a672d7e50aa3d9eb3f.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;