diff options
author | n0n4m3 <none@none> | 2010-04-11 11:13:08 +0400 |
---|---|---|
committer | n0n4m3 <none@none> | 2010-04-11 11:13:08 +0400 |
commit | 457df07bd4fd1b394cfcdbb63d5ff76e87fe8c89 (patch) | |
tree | 801c95a368b0b2638a3282b9a32300085a36bc80 /src/game/Player.cpp | |
parent | 8db7c06e6b16728eca499d29bb136980d714313b (diff) |
Fix quests and auctionhouse.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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) |