From d22768a6b5aa3eae1c58a418425eca08905cd677 Mon Sep 17 00:00:00 2001 From: maximius Date: Sun, 18 Oct 2009 18:38:46 -0700 Subject: *Cleanup --HG-- branch : trunk --- src/game/QuestHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/QuestHandler.cpp') diff --git a/src/game/QuestHandler.cpp b/src/game/QuestHandler.cpp index 7589c8a3712..ae1c23ba08e 100644 --- a/src/game/QuestHandler.cpp +++ b/src/game/QuestHandler.cpp @@ -124,8 +124,8 @@ void WorldSession::HandleQuestgiverAcceptQuestOpcode( WorldPacket & recv_data ) // no or incorrect quest giver if(!pObject - || (pObject->GetTypeId()!=TYPEID_PLAYER && !pObject->hasQuest(quest)) - || (pObject->GetTypeId()==TYPEID_PLAYER && !((Player*)pObject)->CanShareQuest(quest)) + || (pObject->GetTypeId() != TYPEID_PLAYER && !pObject->hasQuest(quest)) + || (pObject->GetTypeId() == TYPEID_PLAYER && !((Player*)pObject)->CanShareQuest(quest)) ) { _player->PlayerTalkClass->CloseGossip(); -- cgit v1.2.3