g++ compile fix
This commit is contained in:
@@ -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" )
|
||||||
|
|||||||
Reference in New Issue
Block a user