From 0bad8a57fad6ba5e149fb1c22ba32528e6219f56 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 27 Oct 2011 16:35:25 -0400 Subject: [PATCH] Fix compile error. --- ScriptMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ScriptMgr.cpp b/ScriptMgr.cpp index 5381af4d..c69c84ef 100644 --- a/ScriptMgr.cpp +++ b/ScriptMgr.cpp @@ -185,7 +185,7 @@ void DoScriptText(int32 iTextEntry, WorldObject* pSource, Unit* pTarget) if (GetSoundEntriesStore()->LookupEntry(pData->uiSoundId)) { if (pData->uiType == CHAT_TYPE_ZONE_YELL) - pSource->GetMap()->PlayDirectSoundToMap(pData->uiSoundId, pSource->GetZoneId()); + pSource->GetMap()->PlayDirectSoundToMap(pData->uiSoundId); else if (pData->uiType == CHAT_TYPE_WHISPER || pData->uiType == CHAT_TYPE_BOSS_WHISPER) { // An error will be displayed for the text