summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 23:44:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 23:44:06 +0300
commit59f0029e490f076a4b45765a27c27bb7d57a193d (patch)
tree70980f9f2f4a9b0f2f6d910d4edb86cede7b7e61
parenta48e2d5021dcbf11fc6998e8cbf688e1ffb9e90e (diff)
downloadplus-59f0029e490f076a4b45765a27c27bb7d57a193d.tar.gz
plus-59f0029e490f076a4b45765a27c27bb7d57a193d.tar.bz2
plus-59f0029e490f076a4b45765a27c27bb7d57a193d.tar.xz
plus-59f0029e490f076a4b45765a27c27bb7d57a193d.zip
Dont show battle events if not enabled.
-rw-r--r--src/gui/windows/chatwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index bd0f68453..fe95b4e97 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -915,6 +915,8 @@ void ChatWindow::attributeChanged(const int id,
const int oldVal,
const int newVal)
{
+ if (!mShowBattleEvents)
+ return;
switch (id)
{
case Attributes::EXP: