diff options
author | PeterN <peter@fuzzle.org> | 2019-04-13 14:12:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-13 14:12:34 +0100 |
commit | abe8cf4985da211ad70c6232a3c737f15574f5de (patch) | |
tree | b391f3da8a64d9534f56f22d492bb6095b113343 /src/tilearea_type.h | |
parent | 801cbea9cce1e04e6921bb087add8206cffe1fe1 (diff) | |
download | openttd-abe8cf4985da211ad70c6232a3c737f15574f5de.tar.xz |
Codechange: Replace duplicated code with TileArea::Expand() (#7467)
Diffstat (limited to 'src/tilearea_type.h')
-rw-r--r-- | src/tilearea_type.h | 2 |
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(); /** |