Codechange: Replace duplicated code with TileArea::Expand() (#7467)

This commit is contained in:
2019-04-13 14:12:34 +01:00
committed by GitHub
parent 801cbea9cc
commit abe8cf4985
7 changed files with 39 additions and 56 deletions

View File

@@ -48,6 +48,8 @@ struct OrthogonalTileArea {
bool Contains(TileIndex tile) const;
OrthogonalTileArea &Expand(int rad);
void ClampToMap();
/**