Jump to content

[PATCH] Add a missing break for SPELL_EFFECT_SUMMON


daveh

Recommended Posts

* What bug does the patch fix? What features does the patch add?

Hunter/Warlock summon a hunter/summon pet first, then can't summon a mini pet.

* For which repository revision was the patch created?

[9162]

* Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

No

* Who has been writing this patch? Please include either forum user names or email addresses.

daveh

Patch:

diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index b082a09..318c4ee 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4759,6 +4759,8 @@ SpellCastResult Spell::CheckCast(bool strict)
                            return SPELL_FAILED_ALREADY_HAVE_CHARM;
                    }
                }
+
+                break;
            }
            // Not used for summon?
            case SPELL_EFFECT_SUMMON_PHANTASM:

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use