From ae15aa0a1ecb1f6f58783d9fe53809508b1a4ddc Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 30 Nov 2004 08:22:40 +0000 Subject: [PATCH] throw -> RageException::Throw --- stepmania/src/LuaHelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/LuaHelpers.cpp b/stepmania/src/LuaHelpers.cpp index 002a17e73c..4004750a78 100644 --- a/stepmania/src/LuaHelpers.cpp +++ b/stepmania/src/LuaHelpers.cpp @@ -226,7 +226,7 @@ bool RunExpression( const CString &str ) /* Don't accept a function as a return value; if you really want to use a function * as a boolean, convert it before returning. */ if( lua_isfunction( L, -1 ) ) - throw CString( "result is a function; did you forget \"()\"?" ); + RageException::Throw( "result is a function; did you forget \"()\"?" ); } return true;