aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-18 21:16:25 +0200
committerMachiavelli <none@none>2009-06-18 21:16:25 +0200
commit3c3a4a303df630452bef776476e8db9968210abf (patch)
treeb187211c693efe444e2918e9f5b1ec61c2e23c09 /src/bindings/scripts
parent38261d19673c820a5a4565e0a6b859692357dc37 (diff)
* More updating of iterator data types in loops, and fix a crash (sorry)
--HG-- branch : trunk
Diffstat (limited to 'src/bindings/scripts')
-rw-r--r--src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp b/src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp
index 4539ddd430e..115ed61e91a 100644
--- a/src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp
+++ b/src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp
@@ -159,11 +159,11 @@ struct TRINITY_DLL_DECL boss_kelidan_the_breakerAI : public ScriptedAI
{
SummonChannelers();
if(!channeler1) return NULL;
- int i;
+ uint8 i;
for(i=0; i<5; ++i)
{
Creature *channeler = Unit::GetCreature(*m_creature, Channelers[i]);
- if(channeler && channeler->GetGUID()==channeler1->GetGUID())
+ if(channeler && channeler->GetGUID() == channeler1->GetGUID())
break;
}
return Channelers[(i+2)%5];