summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index 7cd71a5d7..0ff4b2b6a 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -64,8 +64,14 @@ void StatusEffect::playSFX() const
void StatusEffect::deliverMessage() const
{
- if (!mMessage.empty() && (localChatTab != nullptr))
- localChatTab->chatLog(mMessage, ChatMsgType::BY_SERVER);
+ if (!mMessage.empty() &&
+ localChatTab != nullptr)
+ {
+ localChatTab->chatLog(mMessage,
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
+ }
}
Particle *StatusEffect::getStartParticle() const