fix script loading

move @expression evaluation into LuaManager (LuaManager::RunAtExpression)
evaluate string command parameters
This commit is contained in:
Glenn Maynard
2005-01-20 01:08:26 +00:00
parent ae1329802b
commit e3ce7e8e73
4 changed files with 22 additions and 11 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ Command::Arg Command::GetArg( unsigned index ) const
Command::Arg::operator CString ()
{
return s;
CString sValue = s;
LUA->RunAtExpression( sValue );
return sValue;
}
Command::Arg::operator float ()