summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-03 02:23:28 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-03 02:23:28 +0300
commitbd76fd8ea5c665f41b76cc51b227259d6302681c (patch)
treead861eaf7b0d3958ac8b66c80c79e2158b61c77f
parent65b76728338b824336378b60ed281f39a084eb82 (diff)
downloadmanaplus-bd76fd8ea5c665f41b76cc51b227259d6302681c.tar.gz
manaplus-bd76fd8ea5c665f41b76cc51b227259d6302681c.tar.bz2
manaplus-bd76fd8ea5c665f41b76cc51b227259d6302681c.tar.xz
manaplus-bd76fd8ea5c665f41b76cc51b227259d6302681c.zip
Remove debug message "incorrect player position" from debug tab.
-rw-r--r--src/gui/viewport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 461dd581d..97a467add 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -195,8 +195,8 @@ void Viewport::draw(gcn::Graphics *gcnGraphics)
{
if (player_x <= 0 || player_y <= 0)
{
- if (debugChatTab)
- debugChatTab->chatLog("incorrect player position!");
+// if (debugChatTab)
+// debugChatTab->chatLog("incorrect player position!");
logger->log("incorrect player position: %d, %d, %d, %d",
player_x, player_y, (int)mPixelViewX, (int)mPixelViewY);
if (player_node)