From c788253faa9d502c92f9755283d155d7afda3d1f Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Wed, 1 May 2013 22:10:36 -0400 Subject: [PATCH] simple one. --- src/Attack.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Attack.cpp b/src/Attack.cpp index aac249481a..16031a1c0a 100644 --- a/src/Attack.cpp +++ b/src/Attack.cpp @@ -108,9 +108,9 @@ vector AttackArray::ToVectorString() const void AttackArray::UpdateStartTimes(float delta) { - FOREACH(Attack, *this, a) + for (Attack &a : *this) { - a->fStartSecond += delta; + a.fStartSecond += delta; } }