evaluate PlayerNumber as a lua expression

This commit is contained in:
Chris Danford
2005-02-16 21:20:33 +00:00
parent dd7349d480
commit c13accadc0
3 changed files with 12 additions and 2 deletions
+5
View File
@@ -359,6 +359,11 @@ float LuaManager::RunExpressionF( const CString &str )
return result;
}
int LuaManager::RunExpressionI( const CString &str )
{
return (int)RunExpressionF(str);
}
bool LuaManager::RunExpressionS( const CString &str, CString &sOut )
{
if( !RunExpression( str ) )