Core/SAI: Typo fix of 77087db793

There's no %b, silly

(cherry picked from commit 7a252fc648)
This commit is contained in:
DDuarte
2016-01-26 03:43:15 +00:00
committed by Shauren
parent 252220ed6e
commit 75ff256cc4

View File

@@ -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");
}
}