g++ compile fix

This commit is contained in:
Glenn Maynard
2004-12-03 00:22:20 +00:00
parent 82522540ba
commit 2f27ba0f3e
+2 -2
View File
@@ -117,7 +117,7 @@ void GameCommand::Load( int iIndex, const ActorCommands& acs )
iter != command->vTokens.end(); iter != command->vTokens.end();
iter++ ) iter++ )
{ {
sValue += *iter; sValue += iter->s;
if( iter != command->vTokens.end()-1 ) if( iter != command->vTokens.end()-1 )
sValue += ","; sValue += ",";
} }
@@ -210,7 +210,7 @@ void GameCommand::Load( int iIndex, const ActorCommands& acs )
else if( sName == "setenv" ) else if( sName == "setenv" )
{ {
if( command->vTokens.size() == 3 ) 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" ) else if( sName == "songgroup" )