Throw a RageException rather than a CString
This commit is contained in:
@@ -133,7 +133,7 @@ bool Lua::RunExpression( const CString &str )
|
||||
{
|
||||
try {
|
||||
if( setjmp(jbuf) )
|
||||
throw jbuf_error;
|
||||
RageException::Throw("%s", jbuf_error.c_str());
|
||||
lua_State *L = lua_open();
|
||||
ASSERT( L );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user