diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 4cdd15ccee..8071c699b2 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -707,7 +707,7 @@ float Actor::Command( CString sCommands ) vector vCommands; ParseCommands( sCommands, vCommands ); - for( int i=0; iHandleCommand( vCommands[i] ); return GetTweenTimeLeft(); diff --git a/stepmania/src/ActorCommands.cpp b/stepmania/src/ActorCommands.cpp index 16b5bb9d2f..321c050231 100644 --- a/stepmania/src/ActorCommands.cpp +++ b/stepmania/src/ActorCommands.cpp @@ -27,7 +27,7 @@ void IncorrectActorParametersWarning( const ParsedCommand &command, int iMaxInde void ParsedCommandToken::Set( const CString &sToken ) { s = sToken; - f = atof( sToken ); + f = (float) atof( sToken ); i = atoi( sToken ); b = i != 0; bColorIsValid = c.FromString( sToken ); @@ -40,7 +40,7 @@ void ParsedCommand::Set( const CString &sCommand ) vTokens.resize( vsTokens.size() ); - for( int j=0; j &vCommandsOu vCommandsOut.resize( vsCommands.size() ); - for( int i=0; i