From e601ebebb1a0e174a90a245c1995a1b06670540e Mon Sep 17 00:00:00 2001 From: cala Date: Fri, 10 Jul 2015 21:09:20 +0100 Subject: [PATCH] [Core] Small code clean-up [cz2672] * Remove duplicate block of code (probably coming from auto merge/backport) --- src/game/Object/GameObject.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/game/Object/GameObject.cpp b/src/game/Object/GameObject.cpp index c33b6794..10fa2bf7 100644 --- a/src/game/Object/GameObject.cpp +++ b/src/game/Object/GameObject.cpp @@ -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());