[Core] Small code clean-up [cz2672]
* Remove duplicate block of code (probably coming from auto merge/backport)
This commit is contained in:
parent
d21d680b41
commit
e601ebebb1
@ -1268,14 +1268,6 @@ void GameObject::Use(Unit* user)
|
||||
}
|
||||
}
|
||||
|
||||
// possible quest objective for active quests
|
||||
if (info->goober.questId && sObjectMgr.GetQuestTemplate(info->goober.questId))
|
||||
{
|
||||
// Quest require to be active for GO using
|
||||
if (player->GetQuestStatus(info->goober.questId) != QUEST_STATUS_INCOMPLETE)
|
||||
{ break; }
|
||||
}
|
||||
|
||||
if (info->goober.eventId)
|
||||
{
|
||||
DEBUG_FILTER_LOG(LOG_FILTER_AI_AND_MOVEGENSS, "Goober ScriptStart id %u for %s (Used by %s).", info->goober.eventId, GetGuidStr().c_str(), player->GetGuidStr().c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user