mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
Core/Quests: Fixed icon shown above questgivers with daily quests that have already been completed once by a character
Closes #11331
This commit is contained in:
@@ -778,8 +778,7 @@ uint32 ScriptMgr::GetDialogStatus(Player* player, Creature* creature)
|
||||
ASSERT(player);
|
||||
ASSERT(creature);
|
||||
|
||||
/// @todo 100 is a funny magic number to have hanging around here...
|
||||
GET_SCRIPT_RET(CreatureScript, creature->GetScriptId(), tmpscript, 100);
|
||||
GET_SCRIPT_RET(CreatureScript, creature->GetScriptId(), tmpscript, DIALOG_STATUS_SCRIPTED_NO_STATUS);
|
||||
player->PlayerTalkClass->ClearMenus();
|
||||
return tmpscript->GetDialogStatus(player, creature);
|
||||
}
|
||||
@@ -864,8 +863,7 @@ uint32 ScriptMgr::GetDialogStatus(Player* player, GameObject* go)
|
||||
ASSERT(player);
|
||||
ASSERT(go);
|
||||
|
||||
/// @todo 100 is a funny magic number to have hanging around here...
|
||||
GET_SCRIPT_RET(GameObjectScript, go->GetScriptId(), tmpscript, 100);
|
||||
GET_SCRIPT_RET(GameObjectScript, go->GetScriptId(), tmpscript, DIALOG_STATUS_SCRIPTED_NO_STATUS);
|
||||
player->PlayerTalkClass->ClearMenus();
|
||||
return tmpscript->GetDialogStatus(player, go);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user