summaryrefslogtreecommitdiff
path: root/landscape.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 22:47:58 +0000
committertron <tron@openttd.org>2005-01-22 22:47:58 +0000
commite5cd6b61933537888b1be19af437415861cca57f (patch)
tree078e42c5f2a6e1d8ef465541334a5c00039419e1 /landscape.c
parente75c48ec7a8920c475e515fa13c7629f19cf1a14 (diff)
downloadopenttd-e5cd6b61933537888b1be19af437415861cca57f.tar.xz
(svn r1596) Add some more statics
Diffstat (limited to 'landscape.c')
-rw-r--r--landscape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/landscape.c b/landscape.c
index b72fbdd73..e977e15e3 100644
--- a/landscape.c
+++ b/landscape.c
@@ -234,7 +234,7 @@ uint GetSlopeZ(int x, int y)
// direction=true: check for foundation in east and south corner
// direction=false: check for foundation in west and south corner
-bool hasFoundation(TileInfo *ti, bool direction)
+static bool hasFoundation(TileInfo *ti, bool direction)
{
bool south, other; // southern corner and east/west corner
uint slope = _tile_type_procs[ti->type]->get_slope_tileh_proc(ti);