Warning fixes
This commit is contained in:
1 parent
edfee7e5a9
commit
5b3438f38c
1 file changed
+1
-3
@@ -2266,7 +2266,6 @@ void Player::Regenerate(Powers power)
|
|||||||
float addvalue = 0.0f;
|
float addvalue = 0.0f;
|
||||||
|
|
||||||
// Powers now benefit from haste.
|
// Powers now benefit from haste.
|
||||||
float rangedHaste = GetFloatValue(PLAYER_FIELD_MOD_RANGED_HASTE);
|
|
||||||
float meleeHaste = GetFloatValue(PLAYER_FIELD_MOD_HASTE);
|
float meleeHaste = GetFloatValue(PLAYER_FIELD_MOD_HASTE);
|
||||||
float spellHaste = GetFloatValue(UNIT_MOD_CAST_SPEED);
|
float spellHaste = GetFloatValue(UNIT_MOD_CAST_SPEED);
|
||||||
|
|
||||||
@@ -5892,7 +5891,6 @@ void Player::UpdateSkillsForLevel()
|
|||||||
uint16 field = itr->second.pos / 2;
|
uint16 field = itr->second.pos / 2;
|
||||||
uint8 offset = itr->second.pos & 1; // itr->second.pos % 2
|
uint8 offset = itr->second.pos & 1; // itr->second.pos % 2
|
||||||
|
|
||||||
uint16 val = GetUInt16Value(PLAYER_SKILL_RANK_0 + field, offset);
|
|
||||||
uint16 max = GetUInt16Value(PLAYER_SKILL_MAX_RANK_0 + field, offset);
|
uint16 max = GetUInt16Value(PLAYER_SKILL_MAX_RANK_0 + field, offset);
|
||||||
|
|
||||||
/// update only level dependent max skill values
|
/// update only level dependent max skill values
|
||||||
@@ -24965,7 +24963,7 @@ bool Player::isTotalImmunity() const
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 Player::GetRuneTypeBaseCooldown(RuneType runeType) const
|
uint32 Player::GetRuneTypeBaseCooldown(RuneType /*runeType*/) const
|
||||||
{
|
{
|
||||||
return RUNE_BASE_COOLDOWN;
|
return RUNE_BASE_COOLDOWN;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user