diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-20 02:31:58 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-20 02:31:58 +0000 |
commit | e1f1dbd2ba852c17344b86e9fc131936b4258606 (patch) | |
tree | 4bee0b362273c8335b50befd105974a28b498ede /crawl-ref/source/guic-x11.cc | |
parent | ed05654d265fc1892910a9c6958880837d67560a (diff) | |
download | crawl-ref-e1f1dbd2ba852c17344b86e9fc131936b4258606.tar.gz crawl-ref-e1f1dbd2ba852c17344b86e9fc131936b4258606.zip |
[1940992] Fixed minimap travel/view issues. This fixes both the "off by three squares" as well as an unmentioned "off by two pixels" issue.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4401 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/guic-x11.cc')
-rw-r--r-- | crawl-ref/source/guic-x11.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/guic-x11.cc b/crawl-ref/source/guic-x11.cc index 54027f0353..402b8680d8 100644 --- a/crawl-ref/source/guic-x11.cc +++ b/crawl-ref/source/guic-x11.cc @@ -326,8 +326,6 @@ void MapRegionClass::draw_data(unsigned char *buf) if (!flag) return; - const int marker_length = 2; - for (int yy = 0; yy < dy * marker_length; yy++) XPutPixel(backbuf, px*dx+dx/2 + x_margin, yy, map_pix[MAP_BLACK]); |