Just one loop here.

This commit is contained in:
Jason Felds
2013-05-01 21:35:31 -04:00
parent caa1c30419
commit 79cc4327ac
+2 -2
View File
@@ -301,8 +301,8 @@ void ActorScroller::PositionItemsAndDrawPrimitives( bool bDrawPrimitives )
if( bDelayedDraw )
{
ActorUtil::SortByZPosition( subs );
FOREACH( Actor*, subs, a )
(*a)->Draw();
for (Actor *a : subs)
a->Draw();
}
}