Renamed PickRandom to SelectRandom

This commit is contained in:
hondacrx
2017-06-21 11:57:04 -04:00
parent d16d6d57f0
commit 430507a10a
28 changed files with 54 additions and 53 deletions
+1 -1
View File
@@ -2302,7 +2302,7 @@ namespace Game.AI
{
if (IsUnit(obj))
{
uint sound = sounds.PickRandom();
uint sound = sounds.SelectRandom();
obj.PlayDirectSound(sound, onlySelf ? obj.ToPlayer() : null);
Log.outDebug(LogFilter.ScriptsAi, "SmartScript.ProcessAction:: SMART_ACTION_RANDOM_SOUND: target: {0} ({1}), sound: {2}, onlyself: {3}",
obj.GetName(), obj.GetGUID().ToString(), sound, onlySelf);