Skip to content

Commit

Permalink
Core/SAI: Typo fix of 77087db
Browse files Browse the repository at this point in the history
There's no %b, silly

(cherry picked from commit 7a252fc)
  • Loading branch information
DDuarte authored and Shauren committed Apr 2, 2016
1 parent 252220e commit 75ff256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/game/AI/SmartScripts/SmartScript.cpp
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit 75ff256

Please sign in to comment.