diff --git a/src/bindings/scripts/scripts/kalimdor/temple_of_ahnqiraj/boss_cthun.cpp b/src/bindings/scripts/scripts/kalimdor/temple_of_ahnqiraj/boss_cthun.cpp index f9de19ff92..5accf61a97 100644 --- a/src/bindings/scripts/scripts/kalimdor/temple_of_ahnqiraj/boss_cthun.cpp +++ b/src/bindings/scripts/scripts/kalimdor/temple_of_ahnqiraj/boss_cthun.cpp @@ -545,7 +545,7 @@ struct TRINITY_DLL_DECL cthunAI : public ScriptedAI //Get random but only if we have more than one unit on threat list if (temp.size() > 1) - advance (i , rand() % (temp.size() - 1)); + advance (j , rand() % (temp.size() - 1)); return (*j); }