One loop.

This commit is contained in:
Jason Felds
2013-05-01 22:19:27 -04:00
parent 3f3ea20a3a
commit 792ecf427d
+2 -2
View File
@@ -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()