summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-08-01 18:00:41 -0400
committerChuck Miller <shadowmil@gmail.com>2010-08-01 18:29:00 -0400
commit0e189bbe81c88283438aabb4fec3ba30920d3a36 (patch)
treec3f4b454564c6335c972fadd64fbc82cf23db55e /src/statuseffect.cpp
parent1937ef53c8dd42d986c0a6b061a482a6d8e3c0f7 (diff)
downloadmana-0e189bbe81c88283438aabb4fec3ba30920d3a36.tar.gz
mana-0e189bbe81c88283438aabb4fec3ba30920d3a36.tar.bz2
mana-0e189bbe81c88283438aabb4fec3ba30920d3a36.tar.xz
mana-0e189bbe81c88283438aabb4fec3ba30920d3a36.zip
Reduce localChatTab presence replacing it with the event system
Reviewed-By: Jared Adams
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index 0d8638fc..68bae823 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -21,11 +21,10 @@
#include "statuseffect.h"
+#include "eventmanager.h"
#include "log.h"
#include "sound.h"
-#include "gui/widgets/chattab.h"
-
#include "utils/xml.h"
#include "configuration.h"
@@ -52,7 +51,7 @@ void StatusEffect::playSFX()
void StatusEffect::deliverMessage()
{
if (!mMessage.empty())
- localChatTab->chatLog(mMessage, BY_SERVER);
+ SERVER_NOTICE(mMessage)
}
Particle *StatusEffect::getParticle()