summaryrefslogtreecommitdiff
path: root/src/tilearea_type.h
diff options
context:
space:
mode:
authorPeterN <peter@fuzzle.org>2019-04-13 14:12:34 +0100
committerGitHub <noreply@github.com>2019-04-13 14:12:34 +0100
commitabe8cf4985da211ad70c6232a3c737f15574f5de (patch)
treeb391f3da8a64d9534f56f22d492bb6095b113343 /src/tilearea_type.h
parent801cbea9cce1e04e6921bb087add8206cffe1fe1 (diff)
downloadopenttd-abe8cf4985da211ad70c6232a3c737f15574f5de.tar.xz
Codechange: Replace duplicated code with TileArea::Expand() (#7467)
Diffstat (limited to 'src/tilearea_type.h')
-rw-r--r--src/tilearea_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tilearea_type.h b/src/tilearea_type.h
index 45bfb3d4c..c59975349 100644
--- a/src/tilearea_type.h
+++ b/src/tilearea_type.h
@@ -48,6 +48,8 @@ struct OrthogonalTileArea {
bool Contains(TileIndex tile) const;
+ OrthogonalTileArea &Expand(int rad);
+
void ClampToMap();
/**