From ec2730119ceb471c45792ae0e78758933c035034 Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Thu, 19 Jun 2003 19:27:14 +0000 Subject: [PATCH] ISO forbids using variables declared in for loop iterators outside the for loop blah blah... --- stepmania/src/ActorFrame.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ActorFrame.cpp b/stepmania/src/ActorFrame.cpp index 7b43103119..04478ec1f6 100644 --- a/stepmania/src/ActorFrame.cpp +++ b/stepmania/src/ActorFrame.cpp @@ -110,7 +110,8 @@ void ActorFrame::SortByZ() { Actor* pToInsert = m_SubActors[i]; - for( unsigned j=0; jGetZ() > v[j]->GetZ() ) { v.insert( v.begin()+j, pToInsert );