summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/guic-win.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-20 02:31:58 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-20 02:31:58 +0000
commite1f1dbd2ba852c17344b86e9fc131936b4258606 (patch)
tree4bee0b362273c8335b50befd105974a28b498ede /crawl-ref/source/guic-win.cc
parented05654d265fc1892910a9c6958880837d67560a (diff)
downloadcrawl-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-win.cc')
-rw-r--r--crawl-ref/source/guic-win.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/guic-win.cc b/crawl-ref/source/guic-win.cc
index 7d1894dffc..432f14d8c8 100644
--- a/crawl-ref/source/guic-win.cc
+++ b/crawl-ref/source/guic-win.cc
@@ -602,7 +602,6 @@ void MapRegionClass::draw_data(unsigned char *buf)
inc_y0 = - dx * inc_x0 + BUF_IDX(0, 0, 0, 1);
// erase old markers
- const int marker_length = 2;
for (int j = 0; j < dy * marker_length; j++)
*(pDibBit0 + BUF_IDX(px, 0, dx/2 + x_margin, j)) = MAP_BLACK;