diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-01 22:30:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-01 22:30:44 +0300 |
commit | d13de51121a332cf8613a38d7ed5468f971c999f (patch) | |
tree | 253c2911e291303fd90eb5d61c23076630782a11 /src/gui/windows/debugwindow.cpp | |
parent | 6915c38ca9c35bfb9a5ea05fe957463d644a75de (diff) | |
download | manaplus-d13de51121a332cf8613a38d7ed5468f971c999f.tar.gz manaplus-d13de51121a332cf8613a38d7ed5468f971c999f.tar.bz2 manaplus-d13de51121a332cf8613a38d7ed5468f971c999f.tar.xz manaplus-d13de51121a332cf8613a38d7ed5468f971c999f.zip |
replace tile size from 32 to mapTitleSize.
Diffstat (limited to 'src/gui/windows/debugwindow.cpp')
-rw-r--r-- | src/gui/windows/debugwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/debugwindow.cpp b/src/gui/windows/debugwindow.cpp index 0104af792..3c3a856b8 100644 --- a/src/gui/windows/debugwindow.cpp +++ b/src/gui/windows/debugwindow.cpp @@ -133,8 +133,9 @@ void DebugWindow::draw(gcn::Graphics *g) if (target) { Graphics *const g2 = static_cast<Graphics*>(g); - target->draw(g2, -target->getPixelX() + 16 + mDimension.width / 2, - -target->getPixelY() + 32 + mDimension.height / 2); + target->draw(g2, -target->getPixelX() + mapTileSize / 2 + + mDimension.width / 2, -target->getPixelY() + mapTileSize + + mDimension.height / 2); } } BLOCK_END("DebugWindow::draw") |