From ac6b436f723ab691741c10f80b3ce93a0b0ffaf7 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 11 Jan 2004 08:26:42 +0000 Subject: [PATCH] warnings --- stepmania/src/Actor.cpp | 2 +- stepmania/src/ActorCommands.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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