From 2f27ba0f3e00f4e229d70bab61035b186f409e4f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 3 Dec 2004 00:22:20 +0000 Subject: [PATCH] g++ compile fix --- stepmania/src/GameCommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/GameCommand.cpp b/stepmania/src/GameCommand.cpp index a3461bc590..4850451b94 100644 --- a/stepmania/src/GameCommand.cpp +++ b/stepmania/src/GameCommand.cpp @@ -117,7 +117,7 @@ void GameCommand::Load( int iIndex, const ActorCommands& acs ) iter != command->vTokens.end(); iter++ ) { - sValue += *iter; + sValue += iter->s; if( iter != command->vTokens.end()-1 ) sValue += ","; } @@ -210,7 +210,7 @@ void GameCommand::Load( int iIndex, const ActorCommands& acs ) else if( sName == "setenv" ) { if( command->vTokens.size() == 3 ) - m_SetEnv[ command->vTokens[1] ] = command->vTokens[2]; + m_SetEnv[ command->vTokens[1] ] = command->vTokens[2].s; } else if( sName == "songgroup" )