diff options
author | maximius <none@none> | 2009-11-01 20:50:31 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-01 20:50:31 -0800 |
commit | c3ba7d220824c8b1cd157fe85edae7f47d94f0d9 (patch) | |
tree | 39a58559afd80e6bc08e2f4f4695ed88beab2fee /src/game/Player.cpp | |
parent | 5ed3201ad61d7bfdc23b3a77ccfbe689cf0804db (diff) |
*Fix getLevel() being parsed as a char in ostringstream use
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 86c23316b22..a1d82e22c8d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -16330,10 +16330,10 @@ void Player::SaveToDB() << GetGUIDLow() << ", " << GetSession()->GetAccountId() << ", '" << sql_name << "', " - << (uint32)getRace() << ", " - << (uint32)getClass() << ", " - << (uint32)getGender() << ", " - << getLevel() << ", " + << uint32(getRace()) << ", " + << uint32(getClass()) << ", " + << uint32(getGender()) << ", " + << uint32(getLevel()) << ", " << GetUInt32Value(PLAYER_XP) << ", " << GetMoney() << ", " << GetUInt32Value(PLAYER_BYTES) << ", " |