summaryrefslogtreecommitdiffstats
path: root/src/rw/VisibilityPlugins.cpp
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/rw/VisibilityPlugins.cpp
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/VisibilityPlugins.cpp')
-rw-r--r--src/rw/VisibilityPlugins.cpp2
1 files changed, 1 insertions, 1 deletions
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