summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-10-29 19:21:16 +0100
committeraap <aap@papnet.eu>2020-10-29 19:21:16 +0100
commit317393d763097af07bb56b1eeac2b70e91cceb98 (patch)
treeb1c7e79363951a3d3d07b492e3241dd9bad688eb /src
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
downloadre3-317393d763097af07bb56b1eeac2b70e91cceb98.tar
re3-317393d763097af07bb56b1eeac2b70e91cceb98.tar.gz
re3-317393d763097af07bb56b1eeac2b70e91cceb98.tar.bz2
re3-317393d763097af07bb56b1eeac2b70e91cceb98.tar.lz
re3-317393d763097af07bb56b1eeac2b70e91cceb98.tar.xz
re3-317393d763097af07bb56b1eeac2b70e91cceb98.tar.zst
re3-317393d763097af07bb56b1eeac2b70e91cceb98.zip
Diffstat (limited to 'src')
-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