Throw a RageException rather than a CString

This commit is contained in:
Steve Checkoway
2004-08-29 00:28:28 +00:00
parent 5affade93c
commit 9f2925ab6f
+1 -1
View File
@@ -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 );