From 327e371e48ba31372613c9cd2a615c459246a80f Mon Sep 17 00:00:00 2001 From: p0wer Date: Fri, 1 Jan 2010 19:37:52 -0600 Subject: [PATCH] Fix unknown error message for summoned fire elemental and risen ghoul. --HG-- branch : trunk --- src/game/Pet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index 88e07ae69f..8cee92c485 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) {