mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 10:00:02 +01:00
Update ShamanActions.cpp
This commit is contained in:
parent
0547ce5cf7
commit
662e7f1b0b
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user