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/gui | |
parent | 58f499d3c4c46f2f9e0f129001a1e1311ec330b5 (diff) | |
download | manaverse-a75d6970443252a43d35b06bcb714db182f2efab.tar.gz manaverse-a75d6970443252a43d35b06bcb714db182f2efab.tar.bz2 manaverse-a75d6970443252a43d35b06bcb714db182f2efab.tar.xz manaverse-a75d6970443252a43d35b06bcb714db182f2efab.zip |
Move debugMsg from localplayer into chattab.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/tabs/chattab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/chattab.h b/src/gui/widgets/tabs/chattab.h index 6f0f042b7..1cfdedbbf 100644 --- a/src/gui/widgets/tabs/chattab.h +++ b/src/gui/widgets/tabs/chattab.h @@ -33,6 +33,10 @@ class ScrollArea; +#define debugMsg(str) \ + if (debugChatTab) \ + debugChatTab->chatLog(str); + /** * A tab for the chat window. This is special to ease chat handling. */ |