Jump to content

[9294] Small typo in 9291 (possibly earlier)


Recommended Posts

Posted

In SpellEffects.cpp

*** src/game/SpellEffects.cpp   Wed Feb  3 09:34:44 2010
--- SpellEffects.cpp    Wed Feb  3 09:35:40 2010
*************** void Spell::EffectInterruptCast(uint32 /
*** 4846,4852 ****
             // check if we can interrupt spell
             if ((curSpellInfo->InterruptFlags & SPELL_INTERRUPT_FLAG_INTERRUPT) && curSpellInfo->PreventionType == SPELL_PREVENTION_TYPE_SILENCE )
             {
!                 unitTarget->ProhibitSpellScholl(GetSpellSchoolMask(curSpellInfo), GetSpellDuration(m_spellInfo));
                 unitTarget->InterruptSpell(CurrentSpellTypes(i),false);
             }
         }
--- 4846,4852 ----
             // check if we can interrupt spell
             if ((curSpellInfo->InterruptFlags & SPELL_INTERRUPT_FLAG_INTERRUPT) && curSpellInfo->PreventionType == SPELL_PREVENTION_TYPE_SILENCE )
             {
!                 unitTarget->ProhibitSpellSchool(GetSpellSchoolMask(curSpellInfo), GetSpellDuration(m_spellInfo));
                 unitTarget->InterruptSpell(CurrentSpellTypes(i),false);
             }
         }

Posted

There are also instances of 'Scholl' in Player.cpp, Player.h, and Unit.h. Seems like they should be 'School'. Since they all match, it's not causing any problems, but just for the sake of readability.

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