Fix error with undeclared name

--HG--
branch : trunk
This commit is contained in:
thenecromancer
2010-01-30 14:02:51 +01:00
parent a6630824f4
commit 3c4db4786c
+1 -1
View File
@@ -360,7 +360,7 @@ void WorldSession::SendPetNameQuery( uint64 petguid, uint32 petnumber)
Creature* pet = ObjectAccessor::GetCreatureOrPetOrVehicle(*_player, petguid);
if(!pet)
{
WorldPacket data(SMSG_PET_NAME_QUERY_RESPONSE, (4+4+name.size()+1));
WorldPacket data(SMSG_PET_NAME_QUERY_RESPONSE, (4+4+7+1));
data << uint32(petnumber);
data << "Unknown";
data << uint32(0);