summaryrefslogtreecommitdiffstats
path: root/src/render/VisibilityPlugins.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-02-02 14:51:33 +0100
committereray orçunus <erayorcunus@gmail.com>2020-02-02 14:58:52 +0100
commit03b995c6efb4b6b559b61dd0f789b16c0d8b474f (patch)
treeab7c893d774ed6a07d0d83d729b5df7a08df5b7b /src/render/VisibilityPlugins.cpp
parentfixed firetruck crash (diff)
downloadre3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.gz
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.bz2
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.lz
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.xz
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.zst
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.zip
Diffstat (limited to 'src/render/VisibilityPlugins.cpp')
-rw-r--r--src/render/VisibilityPlugins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/VisibilityPlugins.cpp b/src/render/VisibilityPlugins.cpp
index bbaa08ce..e01bbb92 100644
--- a/src/render/VisibilityPlugins.cpp
+++ b/src/render/VisibilityPlugins.cpp
@@ -248,7 +248,7 @@ CVisibilityPlugins::RenderFadingAtomic(RpAtomic *atomic, float camdist)
RpGeometrySetFlags(geo, flags | rpGEOMETRYMODULATEMATERIALCOLOR);
RpGeometryForAllMaterials(geo, SetAlphaCB, (void*)alpha);
if(geo != RpAtomicGetGeometry(atomic))
- RpAtomicSetGeometry(atomic, geo, 0);
+ RpAtomicSetGeometry(atomic, geo, rpATOMICSAMEBOUNDINGSPHERE); // originally 5 (mistake?)
AtomicDefaultRenderCallBack(atomic);
RpGeometryForAllMaterials(geo, SetAlphaCB, (void*)255);
RpGeometrySetFlags(geo, flags);