Core/Pets: Water Elementals are now permanent pets

This commit is contained in:
Shocker
2011-11-27 00:39:27 +02:00
parent 6cd61ce730
commit 0136c86054
+2
View File
@@ -1764,6 +1764,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;
}