mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[10269] Fixed typo in CONDITION_QUESTAVAILABLE fail case.
Not affect mostly code work, because used only for not existed quest data, that checked at loading. So only possible at reload quest templates with drop related quest. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
0faa1185ae
commit
647acd8caa
2 changed files with 2 additions and 2 deletions
|
|
@ -7640,7 +7640,7 @@ bool PlayerCondition::Meets(Player const * player) const
|
|||
if (Quest const* quest = sObjectMgr.GetQuestTemplate(value1))
|
||||
return player->CanTakeQuest(quest, false);
|
||||
else
|
||||
false;
|
||||
return false;
|
||||
}
|
||||
case CONDITION_ACHIEVEMENT:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue