mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[9294] Fixed typo in function name.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
dae28aafc4
commit
f157b101fb
5 changed files with 5 additions and 5 deletions
|
|
@ -17762,7 +17762,7 @@ void Player::ContinueTaxiFlight()
|
||||||
GetSession()->SendDoFlight(mountDisplayId, path, startNode);
|
GetSession()->SendDoFlight(mountDisplayId, path, startNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::ProhibitSpellScholl(SpellSchoolMask idSchoolMask, uint32 unTimeMs )
|
void Player::ProhibitSpellSchool(SpellSchoolMask idSchoolMask, uint32 unTimeMs )
|
||||||
{
|
{
|
||||||
// last check 2.0.10
|
// last check 2.0.10
|
||||||
WorldPacket data(SMSG_SPELL_COOLDOWN, 8+1+m_spells.size()*8);
|
WorldPacket data(SMSG_SPELL_COOLDOWN, 8+1+m_spells.size()*8);
|
||||||
|
|
|
||||||
|
|
@ -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 AddSpellAndCategoryCooldowns(SpellEntry const* spellInfo, uint32 itemId, Spell* spell = NULL, bool infinityCooldown = false );
|
||||||
void AddSpellCooldown(uint32 spell_id, uint32 itemid, time_t end_time);
|
void AddSpellCooldown(uint32 spell_id, uint32 itemid, time_t end_time);
|
||||||
void SendCooldownEvent(SpellEntry const *spellInfo, uint32 itemId = 0, Spell* spell = NULL);
|
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 RemoveSpellCooldown(uint32 spell_id, bool update = false);
|
||||||
void RemoveSpellCategoryCooldown(uint32 cat, bool update = false);
|
void RemoveSpellCategoryCooldown(uint32 cat, bool update = false);
|
||||||
void SendClearCooldown( uint32 spell_id, Unit* target );
|
void SendClearCooldown( uint32 spell_id, Unit* target );
|
||||||
|
|
|
||||||
|
|
@ -4832,7 +4832,7 @@ void Spell::EffectInterruptCast(uint32 /*i*/)
|
||||||
// check if we can interrupt spell
|
// check if we can interrupt spell
|
||||||
if ((curSpellInfo->InterruptFlags & SPELL_INTERRUPT_FLAG_INTERRUPT) && curSpellInfo->PreventionType == SPELL_PREVENTION_TYPE_SILENCE )
|
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);
|
unitTarget->InterruptSpell(CurrentSpellTypes(i),false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1480,7 +1480,7 @@ class MANGOS_DLL_SPEC Unit : public WorldObject
|
||||||
float GetCreateStat(Stats stat) const { return m_createStats[stat]; }
|
float GetCreateStat(Stats stat) const { return m_createStats[stat]; }
|
||||||
|
|
||||||
void SetCurrentCastedSpell(Spell * pSpell);
|
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 InterruptSpell(CurrentSpellTypes spellType, bool withDelayed = true);
|
||||||
void FinishSpell(CurrentSpellTypes spellType, bool ok = true);
|
void FinishSpell(CurrentSpellTypes spellType, bool ok = true);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9293"
|
#define REVISION_NR "9294"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue