mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Warning Fixes
Code Style cleanup Fix linux compile --HG-- branch : trunk
This commit is contained in:
@@ -99,7 +99,7 @@ static float afSpawnLocations[2][3]=
|
||||
|
||||
struct boss_onyxiaAI : public ScriptedAI
|
||||
{
|
||||
boss_onyxiaAI(Creature* pCreature) : ScriptedAI(pCreature)
|
||||
boss_onyxiaAI(Creature* pCreature) : ScriptedAI(pCreature)
|
||||
{
|
||||
instance = me->GetInstanceData();
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ struct boss_tharon_jaAI : public ScriptedAI
|
||||
{
|
||||
// clean morph on players
|
||||
Map::PlayerList const &PlayerList = pInstance->instance->GetPlayers();
|
||||
|
||||
|
||||
for (Map::PlayerList::const_iterator i = PlayerList.begin(); i != PlayerList.end(); ++i)
|
||||
if (Player *pPlayer = i->getSource())
|
||||
pPlayer->DeMorph();
|
||||
|
||||
@@ -53,7 +53,7 @@ enum Yells
|
||||
|
||||
enum
|
||||
{
|
||||
// Con-speed-atory timed achievement.
|
||||
// Con-speed-atory timed achievement.
|
||||
// TODO Should be started when 1st trash is killed.
|
||||
ACHIEV_CON_SPEED_ATORY_START_EVENT = 21597,
|
||||
SPELL_ACHIEVEMENT_CHECK = 65074,
|
||||
|
||||
@@ -198,7 +198,7 @@ bool AreaTrigger_at_last_rites(Player* pPlayer, const AreaTriggerEntry* pAt)
|
||||
WorldLocation pPosition;
|
||||
|
||||
switch(pAt->id)
|
||||
{
|
||||
{
|
||||
case 5332:
|
||||
case 5338:
|
||||
pPosition = WorldLocation(571,3733.68,3563.25,290.812,3.665192);
|
||||
|
||||
@@ -2185,7 +2185,7 @@ bool GossipHello_npc_locksmith(Player* pPlayer, Creature* pCreature)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GossipSelect_npc_locksmith(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
bool GossipSelect_npc_locksmith(Player* pPlayer, Creature* /*pCreature*/, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
switch(uiAction)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user