diff options
| author | DDuarte <dnpd.dd@gmail.com> | 2016-01-26 03:43:15 +0000 |
|---|---|---|
| committer | DDuarte <dnpd.dd@gmail.com> | 2016-01-26 03:43:15 +0000 |
| commit | 7a252fc648168bdcaf55318b8d40c015498e9d0f (patch) | |
| tree | e38fe522988aeb959ea553eb726e251228824ea4 /src | |
| parent | 77087db79318443fff1b6fe3c91b55a315c5bf92 (diff) | |
Core/SAI: Typo fix of 77087db79318443fff1b6fe3c91b55a315c5bf92
There's no %b, silly
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 11144c7fbc0..808491495a9 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -2321,8 +2321,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"); } } |
