From 915f587d210f6b72cf362c6daed742d2a9f06b5b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 23 Oct 2006 20:33:32 +0000 Subject: [PATCH] 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() --- stepmania/src/GameCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/GameCommand.cpp b/stepmania/src/GameCommand.cpp index f65060fe4f..f420bf1a88 100644 --- a/stepmania/src/GameCommand.cpp +++ b/stepmania/src/GameCommand.cpp @@ -169,7 +169,7 @@ void GameCommand::LoadOne( const Command& cmd ) { if( i > 1 ) sValue += ","; - sValue += (RString) cmd.GetArg(i); + sValue += cmd.m_vsArgs[i]; } if( sName == "style" )