diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-10 00:18:32 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-10 00:18:32 +0000 |
commit | 9f29aa11e3a5fceadf1ac2906283b86e5700659b (patch) | |
tree | bb5e30bb30542b00188da1b043e17a75f946b442 /crawl-ref/source/guic-x11.cc | |
parent | e262ce4eaaf15dce979f563beaa33c73503d089a (diff) | |
download | crawl-ref-9f29aa11e3a5fceadf1ac2906283b86e5700659b.tar.gz crawl-ref-9f29aa11e3a5fceadf1ac2906283b86e5700659b.zip |
Fixing compilation issues from ghost changes.
Fixing incorrect asserts in tiles code.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3236 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/guic-x11.cc')
-rw-r--r-- | crawl-ref/source/guic-x11.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/guic-x11.cc b/crawl-ref/source/guic-x11.cc index 7870b3a19e..33f35148a7 100644 --- a/crawl-ref/source/guic-x11.cc +++ b/crawl-ref/source/guic-x11.cc @@ -765,8 +765,8 @@ void TileRegionClass::fillrect(int left, int top, int right, int bottom, ASSERT(left>=0); ASSERT(top>=0); - ASSERT(right<mx); - ASSERT(bottom<my); + ASSERT(right<mx*dx); + ASSERT(bottom<my*dy); for (x=left; x<=right; x++){ for (y=top; y<= bottom; y++){ |