remove unused RunAtExpressionF

This commit is contained in:
Glenn Maynard
2005-06-16 05:40:36 +00:00
parent 8557623212
commit 7239c06e5d
2 changed files with 0 additions and 16 deletions
-15
View File
@@ -369,21 +369,6 @@ bool LuaManager::RunAtExpressionS( CString &sStr )
return true;
}
float LuaManager::RunAtExpressionF( const CString &_sStr )
{
if( _sStr.size() == 0 || _sStr[0] != '@' )
return 0;
CString sStr = _sStr;
/* Erase "@". */
sStr.erase( 0, 1 );
CString sOut;
RunExpressionS( sStr, sOut );
return strtof( sOut, NULL );
}
void LuaManager::Fail( const CString &err )
{
lua_pushstring( L, err );
-1
View File
@@ -77,7 +77,6 @@ public:
/* If sStr begins with @, evaluate the rest as an expression and store the result over sStr. */
bool RunAtExpressionS( CString &sStr );
float RunAtExpressionF( const CString &sStr );
void Fail( const CString &err );