mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 11:21:58 +01:00
Core&Scripts: Fix clang compiler warnings
This commit is contained in:
@@ -158,8 +158,7 @@ public:
|
||||
DialogueHelper(DialogueEntry const* dialogueArray) :
|
||||
_dialogueArray(dialogueArray),
|
||||
_currentEntry(NULL),
|
||||
_actionTimer(0),
|
||||
_isFirstSide(true)
|
||||
_actionTimer(0)
|
||||
{}
|
||||
// The array MUST be terminated by {0, 0, 0, 0, 0}
|
||||
|
||||
@@ -237,7 +236,6 @@ private:
|
||||
DialogueEntry const* _currentEntry;
|
||||
|
||||
uint32 _actionTimer;
|
||||
bool _isFirstSide;
|
||||
};
|
||||
|
||||
const DialogueEntry introDialogue[] =
|
||||
|
||||
@@ -882,8 +882,6 @@ class npc_halion_controller : public CreatureScript
|
||||
InstanceScript* _instance;
|
||||
SummonList _summons;
|
||||
|
||||
bool _corporealityCheck;
|
||||
|
||||
uint32 _twilightDamageTaken;
|
||||
uint32 _materialDamageTaken;
|
||||
uint8 _materialCorporealityValue;
|
||||
|
||||
@@ -419,8 +419,6 @@ class boss_anubarak_trial : public CreatureScript
|
||||
uint64 _sphereGUID[6];
|
||||
bool _intro;
|
||||
bool _reachedPhase3;
|
||||
uint32 _frostSphereTimer;
|
||||
uint32 _berserkTimer;
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const OVERRIDE
|
||||
@@ -579,7 +577,6 @@ class npc_nerubian_burrower : public CreatureScript
|
||||
|
||||
private:
|
||||
uint32 _submergeTimer;
|
||||
Phases _phase;
|
||||
EventMap _events;
|
||||
InstanceScript* _instance;
|
||||
};
|
||||
|
||||
@@ -1135,7 +1135,6 @@ class boss_icehowl : public CreatureScript
|
||||
bool _movementFinish;
|
||||
bool _trampleCasted;
|
||||
uint8 _stage;
|
||||
Unit* _target;
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const OVERRIDE
|
||||
|
||||
@@ -845,7 +845,6 @@ public:
|
||||
InstanceScript* instance;
|
||||
EventMap events;
|
||||
uint64 summonerGuid;
|
||||
float distanceToShade;
|
||||
bool startedBanishing;
|
||||
bool switchToCombat;
|
||||
};
|
||||
|
||||
@@ -186,7 +186,6 @@ class boss_nazan : public CreatureScript
|
||||
uint32 Turn_Timer;
|
||||
bool flight;
|
||||
uint64 VazrudenGUID;
|
||||
SpellInfo* liquid_fire;
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const OVERRIDE
|
||||
|
||||
Reference in New Issue
Block a user