mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 04:37:04 +00:00
Weather system changed to that of the previous cores.
Weather system changed to that of the previous cores. This is part of the current build errors fixes.
This commit is contained in:
parent
9e94234bdf
commit
165cfba9c4
28 changed files with 1650 additions and 859 deletions
|
|
@ -2104,7 +2104,7 @@ namespace LuaPlayer
|
|||
if (!quest || player->GetQuestStatus(entry) != QUEST_STATUS_COMPLETE)
|
||||
return 0;
|
||||
|
||||
player->RewardQuest(quest, 0, player);
|
||||
player->RewardQuest(quest, 0, player, false);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ void DoOrSimulateScriptTextForMap(int32 iTextEntry, uint32 uiCreatureEntry, Map*
|
|||
}
|
||||
|
||||
debug_log("SD2: DoOrSimulateScriptTextForMap: text entry=%i, Sound=%u, Type=%u, Language=%u, Emote=%u",
|
||||
iTextEntry, pData->SoundId, pData->Type, pData->Language, pData->Emote);
|
||||
iTextEntry, pData->SoundId, pData->Type, pData->LanguageId, pData->Emote);
|
||||
|
||||
if (pData->Type != CHAT_TYPE_ZONE_YELL)
|
||||
{
|
||||
|
|
@ -163,11 +163,11 @@ void DoOrSimulateScriptTextForMap(int32 iTextEntry, uint32 uiCreatureEntry, Map*
|
|||
|
||||
if (pCreatureSource) // If provided pointer for sayer, use direct version
|
||||
{
|
||||
pMap->MonsterYellToMap(pCreatureSource->GetObjectGuid(), iTextEntry, pData->Language, pTarget);
|
||||
pMap->MonsterYellToMap(pCreatureSource->GetObjectGuid(), iTextEntry, pData->LanguageId, pTarget);
|
||||
}
|
||||
else // Simulate yell
|
||||
{
|
||||
pMap->MonsterYellToMap(pInfo, iTextEntry, pData->Language, pTarget);
|
||||
pMap->MonsterYellToMap(pInfo, iTextEntry, pData->LanguageId, pTarget);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue