mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core: Fix more warnings
This commit is contained in:
@@ -174,13 +174,13 @@ namespace Trinity
|
||||
template<class Check>
|
||||
struct WorldObjectSearcher
|
||||
{
|
||||
uint32 i_mapTypeMask;
|
||||
WorldObject*& i_object;
|
||||
WorldObject const* _searcher;
|
||||
WorldObject*& i_object;
|
||||
uint32 i_mapTypeMask;
|
||||
Check &i_check;
|
||||
|
||||
WorldObjectSearcher(WorldObject const* searcher, WorldObject* & result, Check& check, uint32 mapTypeMask = GRID_MAP_TYPE_MASK_ALL)
|
||||
: i_mapTypeMask(mapTypeMask), _searcher(searcher), i_object(result), i_check(check) { }
|
||||
: _searcher(searcher), i_object(result), i_check(check), i_mapTypeMask(mapTypeMask) { }
|
||||
|
||||
void Visit(GameObjectMapType &m);
|
||||
void Visit(PlayerMapType &m);
|
||||
|
||||
@@ -775,7 +775,7 @@ class spell_mage_ice_barrier : public SpellScriptLoader
|
||||
{
|
||||
PrepareAuraScript(spell_mage_ice_barrier_AuraScript);
|
||||
|
||||
void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& canBeRecalculated)
|
||||
void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& canBeRecalculated)
|
||||
{
|
||||
canBeRecalculated = false;
|
||||
if (Unit* caster = GetCaster())
|
||||
|
||||
Reference in New Issue
Block a user