ratkosrb
2018-12-26 13:17:35 +02:00
parent 1fcfd82b14
commit d2c7a65f21
21 changed files with 229 additions and 334 deletions
+2 -2
View File
@@ -2467,9 +2467,9 @@ void DoOrSimulateScriptTextForMap(int32 iTextEntry, uint32 uiCreatureEntry, Map*
pMap->PlayDirectSoundToMap(SoundId);
if (pCreatureSource) // If provided pointer for sayer, use direct version
pMap->MonsterYellToMap(pCreatureSource->GetObjectGuid(), iTextEntry, LanguageId, pTarget);
pMap->MonsterYellToMap(pCreatureSource->GetObjectGuid(), iTextEntry, Language(LanguageId), pTarget);
else // Simulate yell
pMap->MonsterYellToMap(pInfo, iTextEntry, LanguageId, pTarget);
pMap->MonsterYellToMap(pInfo, iTextEntry, Language(LanguageId), pTarget);
}
void Script::RegisterSelf(bool bReportError)