diff options
author | DDuarte <dnpd.dd@gmail.com> | 2016-01-26 03:43:15 +0000 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-04-02 14:52:27 +0200 |
commit | 75ff256cc49d835890546c9f7ef76b464fe84881 (patch) | |
tree | eba0352783c761400bc2dbbaadeb7d18b0253a47 /src | |
parent | 252220ed6e353e3a3ef47aa7bc69f418e0149ff9 (diff) |
Core/SAI: Typo fix of 77087db79318443fff1b6fe3c91b55a315c5bf92
There's no %b, silly
(cherry picked from commit 7a252fc648168bdcaf55318b8d40c015498e9d0f)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 899a8cfedc6..4f4a9b4ff8c 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -2353,8 +2353,8 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u { uint32 sound = Trinity::Containers::SelectRandomContainerElement(sounds); obj->PlayDirectSound(sound, onlySelf ? obj->ToPlayer() : nullptr); - TC_LOG_DEBUG("scripts.ai", "SmartScript::ProcessAction:: SMART_ACTION_RANDOM_SOUND: target: %s (%s), sound: %u, onlyself: %b", - obj->GetName().c_str(), obj->GetGUID().ToString().c_str(), sound, onlySelf); + TC_LOG_DEBUG("scripts.ai", "SmartScript::ProcessAction:: SMART_ACTION_RANDOM_SOUND: target: %s (%s), sound: %u, onlyself: %s", + obj->GetName().c_str(), obj->GetGUID().ToString().c_str(), sound, onlySelf ? "true" : "false"); } } |