From abe8cf4985da211ad70c6232a3c737f15574f5de Mon Sep 17 00:00:00 2001 From: PeterN Date: Sat, 13 Apr 2019 14:12:34 +0100 Subject: Codechange: Replace duplicated code with TileArea::Expand() (#7467) --- src/tilearea_type.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tilearea_type.h') 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(); /** -- cgit v1.2.3-54-g00ecf