Core/Spells: removed a unneeded class check in 0cdddca210

This commit is contained in:
Ovahlord
2019-12-10 15:29:35 +01:00
parent 0cdddca210
commit c834008927

View File

@@ -25876,9 +25876,8 @@ void Player::UpdateRuneRegeneration()
if (haste)
regeneration /= haste;
if (getClass() == CLASS_DEATH_KNIGHT)
for (uint8 i = 0; i < NUM_RUNE_TYPES; i++)
SetFloatValue(PLAYER_RUNE_REGEN_1 + i, regeneration);
for (uint8 i = 0; i < NUM_RUNE_TYPES; i++)
SetFloatValue(PLAYER_RUNE_REGEN_1 + i, regeneration);
}
bool Player::IsBaseRuneSlotsOnCooldown(RuneType runeType) const