diff options
author | alberth <alberth@openttd.org> | 2010-02-06 13:19:46 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-02-06 13:19:46 +0000 |
commit | a6e8c747c9cc04ef800427ac852840d0de2b2c94 (patch) | |
tree | cc0c6320cedf311e6cd20924aa2b77259e40dba4 /src/tilearea_type.h | |
parent | 21589daea9d55878d029b641374caff10561fff3 (diff) | |
download | openttd-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.h | 2 |
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 */ |