From c3ba7d220824c8b1cd157fe85edae7f47d94f0d9 Mon Sep 17 00:00:00 2001 From: maximius Date: Sun, 1 Nov 2009 20:50:31 -0800 Subject: *Fix getLevel() being parsed as a char in ostringstream use --HG-- branch : trunk --- src/game/Pet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Pet.cpp') 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) << ", '" -- cgit v1.2.3