Build fixes

This commit is contained in:
Shauren
2016-07-19 20:47:24 +02:00
parent bccdd93f50
commit cb4b6e8f3f
5 changed files with 4 additions and 8 deletions
@@ -964,9 +964,6 @@ void Creature::CalculateMinMaxDamage(WeaponAttackType attType, bool normalized,
bool Guardian::UpdateStats(Stats stat)
{
if (stat >= MAX_STATS)
return false;
// value = ((base_value * base_pct) + total_value) * total_pct
float value = GetTotalStatValue(stat);
ApplyStatBuffMod(stat, m_statFromOwner[stat], false);