diff options
author | p0wer <none@none> | 2010-01-01 19:37:52 -0600 |
---|---|---|
committer | p0wer <none@none> | 2010-01-01 19:37:52 -0600 |
commit | 327e371e48ba31372613c9cd2a615c459246a80f (patch) | |
tree | b4b329a94369552af2b776a05f6bc30b2e61dc47 /src/game/Pet.cpp | |
parent | 17e4fbd4ad1d80c4c6a6cd2ceed1547f884bb243 (diff) |
Fix unknown error message for summoned fire elemental and risen ghoul.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r-- | src/game/Pet.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index 88e07ae69f4..8cee92c485e 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -808,7 +808,9 @@ bool Guardian::InitStatsForLevel(uint8 petlevel) PetType petType = MAX_PET_TYPE; if(isPet() && m_owner->GetTypeId() == TYPEID_PLAYER) { - if(m_owner->getClass() == CLASS_WARLOCK) + if((m_owner->getClass() == CLASS_WARLOCK) + || (m_owner->getClass() == CLASS_SHAMAN) // Fire Elemental + || (m_owner->getClass() == CLASS_DEATH_KNIGHT)) // Risen Ghoul petType = SUMMON_PET; else if(m_owner->getClass() == CLASS_HUNTER) { |