All pastes #630213 Raw Edit

Mine

public text v1 · immutable
·published 2007-07-23 00:05 UTC
rendered paste body
Index: src/game/Unit.cpp
===================================================================
--- src/game/Unit.cpp	(revision 4151)
+++ src/game/Unit.cpp	(working copy)
@@ -3123,7 +3123,7 @@
 
     // Assign melee/ranged proc flags for magic attacks, that are actually melee/ranged abilities
     // That is the question though if it's fully correct
-    if(procSpell)
+    if(procSpell && !isTriggeredSpell)
     {
         if(procSpell->DmgClass == SPELL_DAMAGE_CLASS_MELEE)
         {