Warning fixes and some minor changes here and there
- Added GetAchievementPoints to AchievementMgr
This commit is contained in:
1 parent
b5af7c5c2e
commit
c4d4beff3b
11 files changed
+79
-104
No files matched your search
@@ -46,7 +46,7 @@ class boss_mandokir : public CreatureScript
|
||||
{
|
||||
}
|
||||
|
||||
void KilledUnit(Unit* victim)
|
||||
void KilledUnit(Unit* /*victim*/)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -222,7 +222,7 @@ class spell_warr_execute : public SpellScriptLoader
|
||||
void HandleEffect(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
Unit* caster = GetCaster();
|
||||
if (Unit* target = GetHitUnit())
|
||||
if (GetHitUnit())
|
||||
{
|
||||
SpellInfo const* spellInfo = GetSpellInfo();
|
||||
int32 rageUsed = std::min<int32>(200 - spellInfo->CalcPowerCost(caster, SpellSchoolMask(spellInfo->SchoolMask)), caster->GetPower(POWER_RAGE));
|
||||
|
||||
Reference in new issue
Block a user