From b5c55139241b1c2cdc86463314b0d1c21ad37f86 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 4 Aug 2013 20:37:51 +0000 Subject: [PATCH] Lunatic: disable printing debug messages for the preview build. BUILD_LUNATIC. git-svn-id: https://svn.eduke32.com/eduke32@3979 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/lunatic/defs_common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/lunatic/defs_common.lua b/polymer/eduke32/source/lunatic/defs_common.lua index 201ecedc3..1603d085d 100644 --- a/polymer/eduke32/source/lunatic/defs_common.lua +++ b/polymer/eduke32/source/lunatic/defs_common.lua @@ -16,7 +16,7 @@ local bit = require("bit") -- 2: disable JIT compilation -- 4: load LuaJIT's 'v' module, printing trace info -- 8: load LuaJIT's 'dump' module, printing generated IR/machine code -ffi.cdef "enum { _DEBUG_LUNATIC=1 }" +ffi.cdef "enum { _DEBUG_LUNATIC=0 }" if (bit.band(ffiC._DEBUG_LUNATIC, 2)~=0) then require("jit").off()