From 1ee90e1022a235859316e55356ea8a3d2f456c9b Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 23 Aug 2009 22:09:43 -0500 Subject: *Update vehicle system. Make vehicle a seperate class from creature. --HG-- branch : trunk --- src/game/PetHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/PetHandler.cpp') diff --git a/src/game/PetHandler.cpp b/src/game/PetHandler.cpp index 3b192fa13fb..9da36fc9215 100644 --- a/src/game/PetHandler.cpp +++ b/src/game/PetHandler.cpp @@ -175,7 +175,7 @@ void WorldSession::HandlePetActionHelper(Unit *pet, uint64 guid1, uint16 spellid //dismissing a summoned pet is like killing them (this prevents returning a soulshard...) pet->setDeathState(CORPSE); } - else if(((Creature*)pet)->HasSummonMask(SUMMON_MASK_MINION)) + else if(((Creature*)pet)->HasUnitTypeMask(UNIT_MASK_MINION)) { ((Minion*)pet)->UnSummon(); } -- cgit v1.2.3