From f157b101fb31bd2255bf307a8539e7653f61cc2d Mon Sep 17 00:00:00 2001 From: reno138 Date: Wed, 3 Feb 2010 22:41:42 +0300 Subject: [PATCH] [9294] Fixed typo in function name. Signed-off-by: VladimirMangos --- src/game/Player.cpp | 2 +- src/game/Player.h | 2 +- src/game/SpellEffects.cpp | 2 +- src/game/Unit.h | 2 +- src/shared/revision_nr.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index b465bddf1..a66747a90 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -17762,7 +17762,7 @@ void Player::ContinueTaxiFlight() GetSession()->SendDoFlight(mountDisplayId, path, startNode); } -void Player::ProhibitSpellScholl(SpellSchoolMask idSchoolMask, uint32 unTimeMs ) +void Player::ProhibitSpellSchool(SpellSchoolMask idSchoolMask, uint32 unTimeMs ) { // last check 2.0.10 WorldPacket data(SMSG_SPELL_COOLDOWN, 8+1+m_spells.size()*8); diff --git a/src/game/Player.h b/src/game/Player.h index 3fde2edaa..e1dc55e85 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -1573,7 +1573,7 @@ class MANGOS_DLL_SPEC Player : public Unit void AddSpellAndCategoryCooldowns(SpellEntry const* spellInfo, uint32 itemId, Spell* spell = NULL, bool infinityCooldown = false ); void AddSpellCooldown(uint32 spell_id, uint32 itemid, time_t end_time); void SendCooldownEvent(SpellEntry const *spellInfo, uint32 itemId = 0, Spell* spell = NULL); - void ProhibitSpellScholl(SpellSchoolMask idSchoolMask, uint32 unTimeMs ); + void ProhibitSpellSchool(SpellSchoolMask idSchoolMask, uint32 unTimeMs ); void RemoveSpellCooldown(uint32 spell_id, bool update = false); void RemoveSpellCategoryCooldown(uint32 cat, bool update = false); void SendClearCooldown( uint32 spell_id, Unit* target ); diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index f9b7926b6..92d2d6a13 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4832,7 +4832,7 @@ void Spell::EffectInterruptCast(uint32 /*i*/) // 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->ProhibitSpellSchool(GetSpellSchoolMask(curSpellInfo), GetSpellDuration(m_spellInfo)); unitTarget->InterruptSpell(CurrentSpellTypes(i),false); } } diff --git a/src/game/Unit.h b/src/game/Unit.h index 8164f6963..940366f17 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1480,7 +1480,7 @@ class MANGOS_DLL_SPEC Unit : public WorldObject float GetCreateStat(Stats stat) const { return m_createStats[stat]; } void SetCurrentCastedSpell(Spell * pSpell); - virtual void ProhibitSpellScholl(SpellSchoolMask /*idSchoolMask*/, uint32 /*unTimeMs*/ ) { } + virtual void ProhibitSpellSchool(SpellSchoolMask /*idSchoolMask*/, uint32 /*unTimeMs*/ ) { } void InterruptSpell(CurrentSpellTypes spellType, bool withDelayed = true); void FinishSpell(CurrentSpellTypes spellType, bool ok = true); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 2d40ef8cb..0742e8d6c 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9293" + #define REVISION_NR "9294" #endif // __REVISION_NR_H__