Handle the float map loop.

This commit is contained in:
Jason Felds
2013-04-28 00:00:00 -04:00
parent 85dae04da5
commit 4eed642749
+2 -2
View File
@@ -126,9 +126,9 @@ static void WriteGlobalTags( RageFile &f, Song &out )
f.Write( "#STOPS:" ); f.Write( "#STOPS:" );
vector<RString> stopLines; vector<RString> stopLines;
FOREACHM(float, float, allPauses, ap) for (std::pair<float const &, float const &> ap : allPauses)
{ {
stopLines.push_back(ssprintf("%.6f=%.6f", ap->first, ap->second)); stopLines.push_back(ssprintf("%.6f=%.6f", ap.first, ap.second));
} }
f.PutLine(join(",\n", stopLines)); f.PutLine(join(",\n", stopLines));