From 3c3a4a303df630452bef776476e8db9968210abf Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Thu, 18 Jun 2009 21:16:25 +0200 Subject: * More updating of iterator data types in loops, and fix a crash (sorry) --HG-- branch : trunk --- .../zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bindings/scripts') 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]; -- cgit v1.2.3