Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Server/Misc: codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
AriDEV3 committed Jan 15, 2024
1 parent e419916 commit 8519728
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 16 deletions.
5 changes: 0 additions & 5 deletions src/server/game/Cinematic/CinematicPathMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@ struct CameraV10
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////

/// Constructor
CinematicSequenceMgr::CinematicSequenceMgr()
{

}
/// Destructor
CinematicSequenceMgr::~CinematicSequenceMgr()
{
Expand Down
2 changes: 1 addition & 1 deletion src/server/game/Cinematic/CinematicPathMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class CinematicSequenceMgr
/// Singleton access
friend class ACE_Singleton < CinematicSequenceMgr, ACE_Null_Mutex > ;
/// Constructor
CinematicSequenceMgr();
CinematicSequenceMgr() { };
/// Destructor
~CinematicSequenceMgr();

Expand Down
1 change: 0 additions & 1 deletion src/server/game/Movement/Waypoints/WaypointManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ void WaypointMgr::ReloadPath(uint32 id)
wp->event_chance = fields[8].GetUInt8();

path.push_back(wp);

}
while (result->NextRow());
}
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ class boss_baron_rivendare : public CreatureScript
DoMeleeAttackIfReady();
}
};

};

void AddSC_boss_baron_rivendare()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ class boss_salramm : public CreatureScript
Talk(SAY_SLAY);
}
};

};

void AddSC_boss_salramm()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ class instance_obsidian_sanctum : public InstanceMapScript
return 0;
}
};

};

void AddSC_instance_obsidian_sanctum()
Expand Down
2 changes: 0 additions & 2 deletions src/server/scripts/Spells/spell_druid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,6 @@ class spell_dru_might_of_ursoc: public SpellScriptLoader
// then calculate amount
amount = aurEff->GetBase()->GetUnitOwner()->CountPctFromMaxHealth(amount);
}

}

void Register() override
Expand All @@ -569,7 +568,6 @@ class spell_dru_might_of_ursoc: public SpellScriptLoader
{
return new spell_dru_might_of_ursoc_AuraScript();
}

};

// -16972 - Predatory Strikes
Expand Down
6 changes: 2 additions & 4 deletions src/server/scripts/Spells/spell_paladin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@ class spell_pal_judgment : public SpellScriptLoader

void Register() override
{
OnEffectHitTarget += SpellEffectFn(spell_pal_judgment_SpellScript::HandleDummy, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);

OnEffectHitTarget += SpellEffectFn(spell_pal_judgment_SpellScript::HandleDummy, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
}
};

Expand Down Expand Up @@ -222,8 +221,7 @@ class spell_pal_selfless_healer : public SpellScriptLoader
GetTarget()->CastSpell(GetTarget(), SPELL_PALADIN_SELFLESS_HEALER_BUFF);

if (GetTarget()->GetAffectingPlayer()->GetTalentSpecialization(SPEC_PALADIN_HOLY))
GetTarget()->CastSpell(GetTarget(), SPELL_PALADIN_SELFLESS_HEALER_ENERGIZE);

GetTarget()->CastSpell(GetTarget(), SPELL_PALADIN_SELFLESS_HEALER_ENERGIZE);
}
void Register() override
{
Expand Down

0 comments on commit 8519728

Please sign in to comment.