mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11029] Rewrite comment line from engrish.
Also thanks to Schmoozerd for pointin to other fixed typos. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
9baa31bc04
commit
01b9ae6c58
3 changed files with 3 additions and 3 deletions
|
|
@ -4923,7 +4923,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
||||||
{
|
{
|
||||||
// spell different for friends and enemies
|
// spell different for friends and enemies
|
||||||
// hart version required facing
|
// hart version required facing
|
||||||
if (m_targets.getUnitTarget() && !m_caster->IsFriendlyTo(m_targets.getUnitTarget()) && !m_caster->HasInArc( M_PI_F, m_targets.getUnitTarget() ))
|
if (m_targets.getUnitTarget() && !m_caster->IsFriendlyTo(m_targets.getUnitTarget()) && !m_caster->HasInArc(M_PI_F, m_targets.getUnitTarget()))
|
||||||
return SPELL_FAILED_UNIT_NOT_INFRONT;
|
return SPELL_FAILED_UNIT_NOT_INFRONT;
|
||||||
}
|
}
|
||||||
// Fire Nova
|
// Fire Nova
|
||||||
|
|
|
||||||
|
|
@ -8541,7 +8541,7 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
|
||||||
}
|
}
|
||||||
case 58914: // Kill Command, pet aura
|
case 58914: // Kill Command, pet aura
|
||||||
{
|
{
|
||||||
// need remove here becase dummy aura hamdler apply/unapply at stack changes
|
// Removal is needed here because the dummy aura handler is applied / removed at stacks change
|
||||||
if (!apply)
|
if (!apply)
|
||||||
if(Unit* caster = GetCaster())
|
if(Unit* caster = GetCaster())
|
||||||
caster->RemoveAurasDueToSpell(34027);
|
caster->RemoveAurasDueToSpell(34027);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11028"
|
#define REVISION_NR "11029"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue