Another simple one.
This commit is contained in:
@@ -183,11 +183,11 @@ bool NotesWriterJson::WriteSong( const RString &sFile, const Song &out, bool bWr
|
|||||||
if( bWriteSteps )
|
if( bWriteSteps )
|
||||||
{
|
{
|
||||||
vector<const Steps*> vpSteps;
|
vector<const Steps*> vpSteps;
|
||||||
FOREACH_CONST( Steps*, out.GetAllSteps(), iter )
|
for (Steps * iter : out.GetAllSteps())
|
||||||
{
|
{
|
||||||
if( (*iter)->IsAutogen() )
|
if( iter->IsAutogen() )
|
||||||
continue;
|
continue;
|
||||||
vpSteps.push_back( *iter );
|
vpSteps.push_back( iter );
|
||||||
}
|
}
|
||||||
JsonUtil::SerializeVectorPointers<Steps>( vpSteps, Serialize, root["Charts"] );
|
JsonUtil::SerializeVectorPointers<Steps>( vpSteps, Serialize, root["Charts"] );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user