Fixed crashes and errors when loading into world.

This commit is contained in:
hondacrx
2022-06-21 14:56:22 -04:00
parent be8e18450e
commit 63cbd18350
12 changed files with 79 additions and 31 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ namespace Game.Spells
case AuraType.Transform:
case AuraType.ModRoot2:
m_canBeRecalculated = false;
if (!m_spellInfo.ProcFlags)
if (m_spellInfo.ProcFlags == null)
break;
amount = (int)(GetBase().GetUnitOwner().CountPctFromMaxHealth(10));
break;