diff --git a/src/lightmap/worker.h b/src/lightmap/worker.h index 09477f2..a1f8d76 100644 --- a/src/lightmap/worker.h +++ b/src/lightmap/worker.h @@ -30,7 +30,9 @@ #include #include -#define MAX_THREADS 128 +// There's a race condition in the code that causes it to sometimes fail if using multiple threads +//#define MAX_THREADS 128 +#define MAX_THREADS 1 class kexWorker; diff --git a/src/main.cpp b/src/main.cpp index c88ecfa..b398f41 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -106,11 +106,11 @@ bool CheckPolyobjs = true; bool ShowMap = false; bool ShowWarnings = false; bool NoTiming = false; -bool CompressNodes = false; -bool CompressGLNodes = false; -bool ForceCompression = false; +bool CompressNodes = true;// false; +bool CompressGLNodes = true;// false; +bool ForceCompression = true;// false; bool GLOnly = true;// false; -bool V5GLNodes = true;// false; +bool V5GLNodes = false; bool HaveSSE1, HaveSSE2; int SSELevel;