aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/eastern_kingdoms
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-08 08:20:08 +0200
committerSpp <none@none>2010-04-08 08:20:08 +0200
commit4635fbc0201846721287a1eb730491262237babd (patch)
tree5b02b41f0099fd9d3af7f3a826ef0ca6dfe80748 /src/scripts/eastern_kingdoms
parent46f0674e237dd8fe97ba4f0769e18b4adfce841b (diff)
Code Style (game + scripts only):
"!=" --> " != " (when needed) " !=" --> " !=" "!= " --> "!= " --HG-- branch : trunk
Diffstat (limited to 'src/scripts/eastern_kingdoms')
-rw-r--r--src/scripts/eastern_kingdoms/karazhan/boss_netherspite.cpp2
-rw-r--r--src/scripts/eastern_kingdoms/karazhan/boss_shade_of_aran.cpp6
-rw-r--r--src/scripts/eastern_kingdoms/uldaman/instance_uldaman.cpp6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/scripts/eastern_kingdoms/karazhan/boss_netherspite.cpp b/src/scripts/eastern_kingdoms/karazhan/boss_netherspite.cpp
index 6420c4d34d2..888d222712a 100644
--- a/src/scripts/eastern_kingdoms/karazhan/boss_netherspite.cpp
+++ b/src/scripts/eastern_kingdoms/karazhan/boss_netherspite.cpp
@@ -170,7 +170,7 @@ struct boss_netherspiteAI : public ScriptedAI
Map::PlayerList const& players = map->GetPlayers();
// get the best suitable target
- for (Map::PlayerList::const_iterator i = players.begin(); i!=players.end(); ++i)
+ for (Map::PlayerList::const_iterator i = players.begin(); i != players.end(); ++i)
{
Player* p = i->getSource();
if (p && p->isAlive() // alive
diff --git a/src/scripts/eastern_kingdoms/karazhan/boss_shade_of_aran.cpp b/src/scripts/eastern_kingdoms/karazhan/boss_shade_of_aran.cpp
index 75f3dbead83..03b8efc1903 100644
--- a/src/scripts/eastern_kingdoms/karazhan/boss_shade_of_aran.cpp
+++ b/src/scripts/eastern_kingdoms/karazhan/boss_shade_of_aran.cpp
@@ -475,9 +475,9 @@ struct boss_aranAI : public ScriptedAI
void SpellHit(Unit* pAttacker, const SpellEntry* Spell)
{
//We only care about inturrupt effects and only if they are durring a spell currently being casted
- if ((Spell->Effect[0]!=SPELL_EFFECT_INTERRUPT_CAST &&
- Spell->Effect[1]!=SPELL_EFFECT_INTERRUPT_CAST &&
- Spell->Effect[2]!=SPELL_EFFECT_INTERRUPT_CAST) || !m_creature->IsNonMeleeSpellCasted(false))
+ if ((Spell->Effect[0] != SPELL_EFFECT_INTERRUPT_CAST &&
+ Spell->Effect[1] != SPELL_EFFECT_INTERRUPT_CAST &&
+ Spell->Effect[2] != SPELL_EFFECT_INTERRUPT_CAST) || !m_creature->IsNonMeleeSpellCasted(false))
return;
//Inturrupt effect
diff --git a/src/scripts/eastern_kingdoms/uldaman/instance_uldaman.cpp b/src/scripts/eastern_kingdoms/uldaman/instance_uldaman.cpp
index 8140b3741ff..95e77c5c22a 100644
--- a/src/scripts/eastern_kingdoms/uldaman/instance_uldaman.cpp
+++ b/src/scripts/eastern_kingdoms/uldaman/instance_uldaman.cpp
@@ -134,7 +134,7 @@ struct instance_uldaman : public ScriptedInstance
for (std::vector<uint64>::const_iterator i = archaedasWallMinions.begin(); i != archaedasWallMinions.end(); ++i)
{
Creature *pTarget = instance->GetCreature(*i);
- if (!pTarget || pTarget->isDead() || pTarget->getFaction()!=14)
+ if (!pTarget || pTarget->isDead() || pTarget->getFaction() != 14)
continue;
pTarget->setDeathState(JUST_DIED);
pTarget->RemoveCorpse();
@@ -144,7 +144,7 @@ struct instance_uldaman : public ScriptedInstance
for (std::vector<uint64>::const_iterator i = vaultWalker.begin(); i != vaultWalker.end(); ++i)
{
Creature *pTarget = instance->GetCreature(*i);
- if (!pTarget || pTarget->isDead() || pTarget->getFaction()!=14)
+ if (!pTarget || pTarget->isDead() || pTarget->getFaction() != 14)
continue;
pTarget->setDeathState(JUST_DIED);
pTarget->RemoveCorpse();
@@ -154,7 +154,7 @@ struct instance_uldaman : public ScriptedInstance
for (std::vector<uint64>::const_iterator i = earthenGuardian.begin(); i != earthenGuardian.end(); ++i)
{
Creature *pTarget = instance->GetCreature(*i);
- if (!pTarget || pTarget->isDead() || pTarget->getFaction()!=14)
+ if (!pTarget || pTarget->isDead() || pTarget->getFaction() != 14)
continue;
pTarget->setDeathState(JUST_DIED);
pTarget->RemoveCorpse();