summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index fa942b098..2de65ed84 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -228,7 +228,7 @@ uint DistanceFromEdge(TileIndex tile)
/**
* Gets the distance to the edge of the map in given direction.
* @param tile the tile to get the distance from
- * @param diagdir the direction of interest
+ * @param dir the direction of interest
* @return the distance from the edge in tiles
*/
uint DistanceFromEdgeDir(TileIndex tile, DiagDirection dir)