Core: Misc fixes

This commit is contained in:
hondacrx
2018-05-26 13:09:46 -04:00
parent 3f7f1a7356
commit f7e557ab71
5 changed files with 12 additions and 7 deletions
+1 -2
View File
@@ -321,7 +321,7 @@ namespace Game.Entities
{
SpellInfo newInfo = Global.SpellMgr.GetSpellInfo(spellId);
if (newInfo != null)
return base.GetCastSpellInfo(newInfo);
return GetCastSpellInfo(newInfo);
}
}
@@ -2612,7 +2612,6 @@ namespace Game.Entities
}
}
// "the bodies of template functions must be made available in a header file"
public void ApplySpellMod<T>(uint spellId, SpellModOp op, ref T basevalue, Spell spell = null)
{
SpellInfo spellInfo = Global.SpellMgr.GetSpellInfo(spellId);