From 457df07bd4fd1b394cfcdbb63d5ff76e87fe8c89 Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Sun, 11 Apr 2010 11:13:08 +0400 Subject: Fix quests and auctionhouse. --HG-- branch : trunk --- src/game/Player.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/game/Player.cpp') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index b092a2b6a20..115df736b3d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -614,6 +614,7 @@ bool Player::Create(uint32 guidlow, const std::string& name, uint8 race, uint8 c SetUInt32Value(PLAYER_BYTES, (skin | (face << 8) | (hairStyle << 16) | (hairColor << 24))); SetUInt32Value(PLAYER_BYTES_2, (facialHair | (0x00 << 8) | (0x00 << 16) | (0x02 << 24))); SetByteValue(PLAYER_BYTES_3, 0, gender); + SetByteValue(PLAYER_BYTES_3, 3, 0); // BattlefieldArenaFaction (0 or 1) SetUInt32Value(PLAYER_GUILDID, 0); SetUInt32Value(PLAYER_GUILDRANK, 0); @@ -14274,13 +14275,13 @@ bool Player::SatisfyQuestLog(bool msg) if (FindQuestSlot(0) < MAX_QUEST_LOG_SIZE) return true; - if (msg) + if (msg) { WorldPacket data(SMSG_QUESTLOG_FULL, 0); - GetSession()->SendPacket(&data); - sLog.outDebug("WORLD: Sent QUEST_LOG_FULL_MESSAGE"); + GetSession()->SendPacket(&data); + sLog.outDebug("WORLD: Sent SMSG_QUESTLOG_FULL"); } - return false; + return true; } bool Player::SatisfyQuestPreviousQuest(Quest const* qInfo, bool msg) -- cgit v1.2.3