diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-11 19:10:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-11 19:10:19 +0300 |
commit | ee1fc0b63cb7f27df85c43474497b805df6e31f5 (patch) | |
tree | d233f17e1bfd751b6939646a24f1253ae8d14796 /src/being/being.cpp | |
parent | a80f4ac5c1c3ef4d3ac5f026591b16074d0bf451 (diff) | |
download | plus-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.gz plus-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.bz2 plus-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.xz plus-ee1fc0b63cb7f27df85c43474497b805df6e31f5.zip |
Remove default parameters from ChatTab::chatLog.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 8 |
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) |