Skip to content

Commit

Permalink
Merge pull request #485 from atidot3/master
Browse files Browse the repository at this point in the history
Fix bot taking unwanted quest
  • Loading branch information
liyunfan1223 committed Aug 18, 2024
2 parents 34c3f16 + 1d4fb89 commit 77769b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/strategy/actions/TalkToQuestGiverAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ bool TalkToQuestGiverAction::ProcessQuest(Quest const* quest, Object* questGiver
out << "|cffff0000Incompleted|r";
break;
case QUEST_STATUS_NONE:
AcceptQuest(quest, questGiver->GetGUID());
out << "|cff00ff00Available|r";
break;
case QUEST_STATUS_FAILED:
Expand Down Expand Up @@ -278,7 +277,6 @@ bool TurnInQueryQuestAction::Execute(Event event)
out << "|cffff0000Incompleted|r";
break;
case QUEST_STATUS_NONE:
AcceptQuest(quest, object->GetGUID());
out << "|cff00ff00Available|r";
break;
case QUEST_STATUS_FAILED:
Expand Down

0 comments on commit 77769b2

Please sign in to comment.