aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-01 20:50:31 -0800
committermaximius <none@none>2009-11-01 20:50:31 -0800
commitc3ba7d220824c8b1cd157fe85edae7f47d94f0d9 (patch)
tree39a58559afd80e6bc08e2f4f4695ed88beab2fee /src/game/Pet.cpp
parent5ed3201ad61d7bfdc23b3a77ccfbe689cf0804db (diff)
*Fix getLevel() being parsed as a char in ostringstream use
--HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 775c0ee8df5..8fd3f70f6d2 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -425,7 +425,7 @@ void Pet::SavePetToDB(PetSaveMode mode)
<< GetEntry() << ", "
<< owner << ", "
<< GetNativeDisplayId() << ", "
- << getLevel() << ", "
+ << uint32(getLevel()) << ", "
<< GetUInt32Value(UNIT_FIELD_PETEXPERIENCE) << ", "
<< uint32(GetReactState()) << ", "
<< uint32(mode) << ", '"