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
commit97f893ae2f262fc0521b785b8cf73661f1ce6f95 (patch)
tree078e42c5f2a6e1d8ef465541334a5c00039419e1 /landscape.c
parentc1edc5b9c8244410fdad78586c54031ab18e3f97 (diff)
downloadopenttd-97f893ae2f262fc0521b785b8cf73661f1ce6f95.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);