Fix CRLF... please be sure to check your win32text settings, including cleverencode/cleverdecode settings before pushing to the repo
--HG-- branch : trunk
This commit is contained in:
1 parent
861aad532b
commit
3a223e0e80
2 files changed
+27
-27
No files matched your search
+7
-7
@@ -2721,13 +2721,13 @@ void Spell::finish(bool ok)
|
||||
if(!m_caster->IsNonMeleeSpellCasted(false, false, true))
|
||||
m_caster->clearUnitState(UNIT_STAT_CASTING);
|
||||
|
||||
if(!ok)
|
||||
{
|
||||
//restore spell mods
|
||||
if (m_caster->GetTypeId() == TYPEID_PLAYER)
|
||||
((Player*)m_caster)->RestoreSpellMods(this);
|
||||
return;
|
||||
}
|
||||
if(!ok)
|
||||
{
|
||||
//restore spell mods
|
||||
if (m_caster->GetTypeId() == TYPEID_PLAYER)
|
||||
((Player*)m_caster)->RestoreSpellMods(this);
|
||||
return;
|
||||
}
|
||||
// other code related only to successfully finished spells
|
||||
|
||||
//remove spell mods
|
||||
|
||||
Reference in new issue
Block a user