Skip to content

Commit

Permalink
Remove redundant whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Aug 17, 2024
1 parent 707befe commit 0924070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/GossipDef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ void PlayerMenu::SendQuestGiverQuestDetails(Quest const* pQuest, ObjectGuid guid

Player* player = GetMenuSession()->GetPlayer();
Unit* giver = player->GetMap()->GetUnit(guid);
if (giver && pQuest->IsAutoAccept() && player->CanTakeQuest(pQuest, false) && player->CanAddQuest(pQuest, false))
if (giver && pQuest->IsAutoAccept() && player->CanTakeQuest(pQuest, false) && player->CanAddQuest(pQuest, false))
player->AddQuest(pQuest, giver);

DEBUG_LOG("WORLD: Sent SMSG_QUESTGIVER_QUEST_DETAILS - for %s of %s, questid = %u", GetMenuSession()->GetPlayer()->GetGuidStr().c_str(), guid.GetString().c_str(), pQuest->GetQuestId());
Expand Down

1 comment on commit 0924070

@Exxenoz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfection

Please sign in to comment.