Jump to content

[9269] [fix]missing break in checkCast


Guest laise

Recommended Posts

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

fixes bug when you can't activate snake trap if you have active pet

For which repository revision was the patch created?

9266

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

haven't seen any

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

me

diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 446c210..9f11398 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4753,6 +4753,7 @@ 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

×
×
  • 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