Scripts/Spells: typo fix for a loop counter
This commit is contained in:
1 parent
09f8eb41c2
commit
c9db15021c
1 file changed
+1
-1
@@ -1145,7 +1145,7 @@ class spell_dk_runic_empowerment : public AuraScript
|
|||||||
std::vector<uint8> fullyDepletedRuneIndexes;
|
std::vector<uint8> fullyDepletedRuneIndexes;
|
||||||
Player* player = GetTarget()->ToPlayer();
|
Player* player = GetTarget()->ToPlayer();
|
||||||
|
|
||||||
for (uint i = 0; i < MAX_RUNES; ++i)
|
for (uint8 i = 0; i < MAX_RUNES; ++i)
|
||||||
{
|
{
|
||||||
if (player->IsRuneFullyDepleted(i))
|
if (player->IsRuneFullyDepleted(i))
|
||||||
fullyDepletedRuneIndexes.push_back(i);
|
fullyDepletedRuneIndexes.push_back(i);
|
||||||
|
|||||||
Reference in new issue
Block a user