From 59f0029e490f076a4b45765a27c27bb7d57a193d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 18 May 2014 23:44:06 +0300 Subject: Dont show battle events if not enabled. --- src/gui/windows/chatwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui') 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: -- cgit v1.2.3-70-g09d2