summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-27 08:54:49 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-27 08:54:49 +0000
commit0566854703cbf6aef6623f44fde4bd5becb16854 (patch)
tree506bbb8d08f141ff9f596bedec6266deafaea7aa /crawl-ref/source/beam.cc
parentd7ca99b68de9b08ae4d6be0ad6d9db1eb5a62aa2 (diff)
downloadcrawl-ref-0566854703cbf6aef6623f44fde4bd5becb16854.tar.gz
crawl-ref-0566854703cbf6aef6623f44fde4bd5becb16854.zip
Made flip_rectangle() use clamp_in_bounds().
Prevented divide-by-zero error in rectangle_dimensions(). Shrunk clamping rectangle in clamp_in_bounds() one square away from each side to prevent floor squares from ever abutting the very edge of the level grid. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7652 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
0 files changed, 0 insertions, 0 deletions