[Core/Script] As the crow flies - delete horrible hack and properly fix

This commit is contained in:
mik1893
2016-07-14 21:36:42 +01:00
committed by Yehonal
parent 5aabfac4bf
commit eec8b797e0
4 changed files with 40 additions and 7 deletions

View File

@@ -213,13 +213,6 @@ void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& recvData)
movementInfo.guid = guid;
ReadMovementInfo(recvData, &movementInfo);
// Fix quest "As the crow flies" - Remove morph and complete quest
if(GetPlayer()->GetQuestStatus(9718) == QUEST_STATUS_INCOMPLETE)
{
GetPlayer()->CompleteQuest(9718);
GetPlayer()->RemoveAurasDueToSpell(38776);
}
recvData.read_skip<uint32>(); // spline id
}