mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
Update ShamanActions.cpp
This commit is contained in:
@@ -99,7 +99,7 @@ bool SetTotemAction::Execute(Event event)
|
||||
|
||||
uint32 totemSpell = 0;
|
||||
|
||||
// Iterate backwards due signed/unsigned int
|
||||
// Iterate backwards to prioritize the highest-rank totem spell the bot knows
|
||||
for (size_t i = spellIdsCount; i-- > 0;)
|
||||
{
|
||||
const uint32 spellId = totemSpellIds[i];
|
||||
|
||||
Reference in New Issue
Block a user