diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-20 17:50:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-20 17:50:52 +0300 |
commit | a75d6970443252a43d35b06bcb714db182f2efab (patch) | |
tree | e622f09840f24b18f6ee3c86002189aee7461e6d /src/being | |
parent | 58f499d3c4c46f2f9e0f129001a1e1311ec330b5 (diff) | |
download | mv-a75d6970443252a43d35b06bcb714db182f2efab.tar.gz mv-a75d6970443252a43d35b06bcb714db182f2efab.tar.bz2 mv-a75d6970443252a43d35b06bcb714db182f2efab.tar.xz mv-a75d6970443252a43d35b06bcb714db182f2efab.zip |
Move debugMsg from localplayer into chattab.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 6 | ||||
-rw-r--r-- | src/being/localplayer.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index a643a3a0e..93d542803 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -2704,12 +2704,6 @@ void LocalPlayer::specialMove(const unsigned char direction) } } -void LocalPlayer::debugMsg(const std::string &str) -{ - if (debugChatTab) - debugChatTab->chatLog(str); -} - void LocalPlayer::magicAttack() const { if (!chatWindow || !isAlive() diff --git a/src/being/localplayer.h b/src/being/localplayer.h index 4e9efef21..920a242e8 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -279,8 +279,6 @@ class LocalPlayer final : public Being, void moveToHome(); - static void debugMsg(const std::string &str); - bool isReachable(Being *const being, const int maxCost = 0) A_WARN_UNUSED; |