Skip to content

Commit

Permalink
remove redundant brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa committed May 8, 2022
1 parent 6ca7a0f commit 04285e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/game/AI/ScriptDevAI/scripts/world/npcs_special.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2853,9 +2853,7 @@ void LearnSkillRecipesHelper(Player* player, uint32 skill_id)
bool GossipSelect_npc_paymaster(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction)
{
if (pPlayer->GetFreePrimaryProfessionPoints() == 0 && uiAction > GOSSIP_ACTION_INFO_DEF + 4)
{
return false;
}

FactionEntry const* factionEntry;
switch (uiAction)
Expand Down

0 comments on commit 04285e3

Please sign in to comment.