summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 429201cf2..618989bd5 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -751,7 +751,9 @@ void Being::takeDamage(Being *restrict const attacker,
{
ChatWindow::battleChatLog(strprintf("%s : Hit you -%d",
attacker->getName().c_str(), amount),
- ChatMsgType::BY_OTHER);
+ ChatMsgType::BY_OTHER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
}
}
else if (attacker == localPlayer && (amount != 0))
@@ -760,7 +762,9 @@ void Being::takeDamage(Being *restrict const attacker,
attacker->mName.c_str(),
mName.c_str(),
amount),
- ChatMsgType::BY_PLAYER);
+ ChatMsgType::BY_PLAYER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
}
}
if (font != nullptr && particleEngine != nullptr)