Small vehicle related code cleanup.

This commit is contained in:
VladimirMangos 2009-01-24 00:54:21 +03:00
parent 3f4821acfb
commit 0798b151cc
7 changed files with 14 additions and 12 deletions

View file

@ -357,7 +357,7 @@ void WorldSession::HandlePetCancelAuraOpcode( WorldPacket& recvPacket)
return;
}
Creature* pet=ObjectAccessor::GetCreatureOrPet(*_player,guid);
Creature* pet=ObjectAccessor::GetCreatureOrPetOrVehicle(*_player,guid);
if(!pet)
{