[11463] Cleanup codestyle in PetHandler.cpp

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Den 2011-05-10 13:10:01 +04:00 committed by VladimirMangos
parent 31c34a940d
commit 6e1988bfc7
2 changed files with 111 additions and 109 deletions

View file

@ -563,6 +563,7 @@ void WorldSession::HandlePetAbandon( WorldPacket & recv_data )
void WorldSession::HandlePetUnlearnOpcode(WorldPacket& recvPacket) void WorldSession::HandlePetUnlearnOpcode(WorldPacket& recvPacket)
{ {
DETAIL_LOG("CMSG_PET_UNLEARN"); DETAIL_LOG("CMSG_PET_UNLEARN");
ObjectGuid guid; ObjectGuid guid;
recvPacket >> guid; // Pet guid recvPacket >> guid; // Pet guid
@ -590,6 +591,7 @@ void WorldSession::HandlePetUnlearnOpcode(WorldPacket& recvPacket)
void WorldSession::HandlePetSpellAutocastOpcode(WorldPacket& recvPacket) void WorldSession::HandlePetSpellAutocastOpcode(WorldPacket& recvPacket)
{ {
DETAIL_LOG("CMSG_PET_SPELL_AUTOCAST"); DETAIL_LOG("CMSG_PET_SPELL_AUTOCAST");
ObjectGuid guid; ObjectGuid guid;
uint32 spellid; uint32 spellid;
uint8 state; // 1 for on, 0 for off uint8 state; // 1 for on, 0 for off

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11462" #define REVISION_NR "11463"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__