summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/config.h4
-rw-r--r--src/rw/VisibilityPlugins.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/config.h b/src/core/config.h
index fd89391b..a7de3a8a 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -201,8 +201,8 @@ enum Config {
#define LOAD_INI_SETTINGS
// Rendering/display
-#define EXTRA_MODEL_FLAGS // from mobile to optimize rendering
-# define HARDCODED_MODEL_FLAGS // sets the flags enabled above from hardcoded model names.
+//#define EXTRA_MODEL_FLAGS // from mobile to optimize rendering
+//# define HARDCODED_MODEL_FLAGS // sets the flags enabled above from hardcoded model names.
// NB: keep this enabled unless your map IDEs have these flags baked in
#define ASPECT_RATIO_SCALE // Not just makes everything scale with aspect ratio, also adds support for all aspect ratios
#define DEFAULT_NATIVE_RESOLUTION // Set default video mode to your native resolution (fixes Windows 10 launch)
diff --git a/src/rw/VisibilityPlugins.cpp b/src/rw/VisibilityPlugins.cpp
index c47cedca..8878a26a 100644
--- a/src/rw/VisibilityPlugins.cpp
+++ b/src/rw/VisibilityPlugins.cpp
@@ -160,7 +160,7 @@ CVisibilityPlugins::RenderFadingEntities(void)
#endif
RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, FALSE);
#ifdef EXTRA_MODEL_FLAGS
- if(mi->m_bIsTree)
+ else if(mi->m_bIsTree)
SetAlphaRef(128);
#endif