aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util/lua/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/util/lua/luaconf.h')
-rw-r--r--engines/sword25/util/lua/luaconf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/util/lua/luaconf.h b/engines/sword25/util/lua/luaconf.h
index 53d0f55290..fb85983998 100644
--- a/engines/sword25/util/lua/luaconf.h
+++ b/engines/sword25/util/lua/luaconf.h
@@ -621,7 +621,7 @@ union luai_Cast { double l_d; long l_l; };
#else
/* default handling with long jumps */
-#define LUAI_THROW(L,c) longjmp((c)->b, 1)
+//#define LUAI_THROW(L,c) longjmp((c)->b, 1) // replaced with error() in ScummVM
#define LUAI_TRY(L,c,a) if (setjmp((c)->b) == 0) { a }
#define luai_jmpbuf jmp_buf