summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-09 10:40:33 +0000
committerrubidium <rubidium@openttd.org>2009-11-09 10:40:33 +0000
commit860b9b1cead825da2dfc109858f8f134f973f62d (patch)
tree217816b8cd30cd32331090a36222f2e968c830e2 /src/road_cmd.cpp
parentc2221885f488b9a7ca52b11e621582d4c60ab80d (diff)
downloadopenttd-860b9b1cead825da2dfc109858f8f134f973f62d.tar.xz
(svn r18028) -Codechange: unglobalise some functions
Diffstat (limited to 'src/road_cmd.cpp')
-rw-r--r--src/road_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp
index ff610554f..9b5915589 100644
--- a/src/road_cmd.cpp
+++ b/src/road_cmd.cpp
@@ -103,7 +103,7 @@ static const RoadBits _invalid_tileh_slopes_road[2][15] = {
}
};
-Foundation GetRoadFoundation(Slope tileh, RoadBits bits);
+static Foundation GetRoadFoundation(Slope tileh, RoadBits bits);
/**
* Is it allowed to remove the given road bits from the given tile?
@@ -981,7 +981,7 @@ struct DrawRoadTileStruct {
* @param bits The RoadBits part
* @return The resulting Foundation
*/
-Foundation GetRoadFoundation(Slope tileh, RoadBits bits)
+static Foundation GetRoadFoundation(Slope tileh, RoadBits bits)
{
/* Flat land and land without a road doesn't require a foundation */
if (tileh == SLOPE_FLAT || bits == ROAD_NONE) return FOUNDATION_NONE;