don't eval here. This dates back to when commands were
actually parsed with Commands; if you really want to eval a GameCommand, eval the whole string: Choice1="screen,"..f()
This commit is contained in:
@@ -169,7 +169,7 @@ void GameCommand::LoadOne( const Command& cmd )
|
|||||||
{
|
{
|
||||||
if( i > 1 )
|
if( i > 1 )
|
||||||
sValue += ",";
|
sValue += ",";
|
||||||
sValue += (RString) cmd.GetArg(i);
|
sValue += cmd.m_vsArgs[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
if( sName == "style" )
|
if( sName == "style" )
|
||||||
|
|||||||
Reference in New Issue
Block a user