summaryrefslogtreecommitdiff
path: root/src/tilearea_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-02-06 13:19:46 +0000
committeralberth <alberth@openttd.org>2010-02-06 13:19:46 +0000
commita6e8c747c9cc04ef800427ac852840d0de2b2c94 (patch)
treecc0c6320cedf311e6cd20924aa2b77259e40dba4 /src/tilearea_type.h
parent21589daea9d55878d029b641374caff10561fff3 (diff)
downloadopenttd-a6e8c747c9cc04ef800427ac852840d0de2b2c94.tar.xz
(svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps.
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 15045cb11..4eeaf1e48 100644
--- a/src/tilearea_type.h
+++ b/src/tilearea_type.h
@@ -47,6 +47,8 @@ struct TileArea {
}
bool Intersects(const TileArea &ta) const;
+
+ void ClampToMap();
};
#endif /* TILEAREA_TYPE_H */