One loop.
This commit is contained in:
+2
-2
@@ -137,8 +137,8 @@ void PlayerState::RemoveActiveAttacks( AttackLevel al )
|
||||
|
||||
void PlayerState::EndActiveAttacks()
|
||||
{
|
||||
FOREACH( Attack, m_ActiveAttacks, a )
|
||||
a->fSecsRemaining = 0;
|
||||
for (Attack &a : m_ActiveAttacks)
|
||||
a.fSecsRemaining = 0;
|
||||
}
|
||||
|
||||
void PlayerState::RemoveAllInventory()
|
||||
|
||||
Reference in New Issue
Block a user