Core: cleanup.

*remove some garbage
*little bit moore const func
*fix process of args in vmap3_extractor
This commit is contained in:
Chaplain committed 2011-09-01 22:38:32 +03:00
1 parent 0046083509
commit bea649d045
14 files changed
+23 -39

No files matched your search

+1 -1
View File
@@ -5857,7 +5857,7 @@ void Spell::EffectReputation(SpellEffIndex effIndex)
}
// Bonus from spells that increase reputation gain
float bonus = rep_change * _player->GetTotalAuraModifier(SPELL_AURA_MOD_REPUTATION_GAIN) / 100.0; // 10%
float bonus = rep_change * _player->GetTotalAuraModifier(SPELL_AURA_MOD_REPUTATION_GAIN) / 100.0f; // 10%
rep_change += (int32)bonus;
_player->GetReputationMgr().ModifyReputation(factionEntry, rep_change);