summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2013-10-12 22:01:21 +0000
committerzuu <zuu@openttd.org>2013-10-12 22:01:21 +0000
commitd90889791826633d9f18301ead41a5d4bc77e215 (patch)
treeedd369bbfd17e32bb047dd5b8b2aae5d691d8aa0 /src
parent7d10302f354f82c7ee03f72c062e7a4dabacb99a (diff)
downloadopenttd-d90889791826633d9f18301ead41a5d4bc77e215.tar.xz
(svn r25847) -Fix: Comment for GetFoundationSlope was wrong (cirdan, LordAro)
Diffstat (limited to 'src')
-rw-r--r--src/landscape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp
index 0d8abf9bf..2e3e3d52e 100644
--- a/src/landscape.cpp
+++ b/src/landscape.cpp
@@ -329,7 +329,7 @@ void GetSlopePixelZOnEdge(Slope tileh, DiagDirection edge, int *z1, int *z2)
/**
* Get slope of a tile on top of a (possible) foundation
- * If a tile does not have a foundation, the function returns the same as GetTilePixelSlope.
+ * If a tile does not have a foundation, the function returns the same as GetTileSlope.
*
* @param tile The tile of interest.
* @param z returns the z of the foundation slope. (Can be NULL, if not needed)