Allow radius_iterator to iterate over the top/left map edge (#7809)
authorNeil Moore <neil@s-z.org>
Mon, 2 Dec 2013 18:58:49 +0000 (13:58 -0500)
committerNeil Moore <neil@s-z.org>
Mon, 2 Dec 2013 18:58:49 +0000 (13:58 -0500)
commit7eb06c6a877cb4f1e858a4557b7770d5bd509978
tree9bcab5fd1a4c0aac1c013ffec7fadde2564fb74d
parent4339e4d4c44f8ed37a55188746038052ff6ddcbc
Allow radius_iterator to iterate over the top/left map edge (#7809)

Valid map coordinates fall in the range [0, GXM-1] x [0, GYM-1], but we
were excluding x and y coordinates of zero from the iterator check.
That caused these edges of the map not to be drawn, and probably other
problems.
crawl-ref/source/coordit.cc