diff options
| author | megamage <none@none> | 2009-06-02 17:40:22 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-02 17:40:22 -0500 |
| commit | aa7a91ce90be522adb257200654762678ad5e0b0 (patch) | |
| tree | b914645b5acff722630a385f69d96cd0eb6fef58 /src/game/SpellEffects.cpp | |
| parent | 47a147721394c696a7eaec75511c891e4e03d402 (diff) | |
[7937] Check OpenSSL lib at server start up. Author: AlexDereka
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index a6d5cb2ce74..6847e96f5af 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3963,7 +3963,8 @@ void Spell::EffectTameCreature(uint32 /*i*/) finish(); Pet* pet = m_caster->CreateTamedPetFrom(creatureTarget,m_spellInfo->Id); - if(!pet) return; + if(!pet) // in versy specific state like near world end/etc. + return; // kill original creature creatureTarget->setDeathState(JUST_DIED); |
