Core/Pets: Water Elementals are now permanent pets

This commit is contained in:
Shocker
2011-11-27 00:43:03 +02:00
parent c1a6e8d716
commit abb82345a4

View File

@@ -1720,6 +1720,8 @@ bool Pet::IsPermanentPetFor(Player* owner)
return GetCreatureInfo()->type == CREATURE_TYPE_DEMON;
case CLASS_DEATH_KNIGHT:
return GetCreatureInfo()->type == CREATURE_TYPE_UNDEAD;
case CLASS_MAGE:
return GetCreatureInfo()->type == CREATURE_TYPE_ELEMENTAL;
default:
return false;
}