From a75d6970443252a43d35b06bcb714db182f2efab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jul 2014 17:50:52 +0300 Subject: Move debugMsg from localplayer into chattab. --- src/being/localplayer.cpp | 6 ------ src/being/localplayer.h | 2 -- 2 files changed, 8 deletions(-) (limited to 'src/being') 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; -- cgit v1.2.3-60-g2f50