Skip to content

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jokerlfm committed Feb 20, 2023
1 parent af44c51 commit 273704a
Show file tree
Hide file tree
Showing 3 changed files with 377 additions and 376 deletions.
1 change: 1 addition & 0 deletions src/game/Handlers/ChatHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
// lfm nier
#include "NierManager.h"

bool WorldSession::CheckChatMessageValidity(std::string& msg, uint32 lang, uint32 msgType)
{
if (!IsLanguageAllowedForChatType(lang, msgType))
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/game/Handlers/QuestHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ uint32 WorldSession::GetDialogStatus(Player* pPlayer, Object* questgiver, uint32
if (pPlayer->CanSeeStartQuest(pQuest))
{
if (pPlayer->SatisfyQuestLevel(pQuest, false))
{
{
int32 lowLevelDiff = sWorld.getConfig(CONFIG_INT32_QUEST_LOW_LEVEL_HIDE_DIFF);
if (pQuest->IsAutoComplete() || (pQuest->IsRepeatable() && !pQuest->HasQuestFlag(QUEST_FLAGS_UNK2) && pPlayer->getQuestStatusMap()[quest_id].m_rewarded))
dialogStatusNew = DIALOG_STATUS_REWARD_REP;
Expand Down
Loading

0 comments on commit 273704a

Please sign in to comment.