summaryrefslogtreecommitdiffstats
path: root/src/render/VisibilityPlugins.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-10 20:17:00 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-10 20:17:00 +0200
commitbe260b49b1e5421a96f78ae2f0512220d5805274 (patch)
tree16f21f6f45c749120e3853a4369fe39348344102 /src/render/VisibilityPlugins.cpp
parentrecord init (diff)
parentdisabling the code that freezes gang members (diff)
downloadre3-be260b49b1e5421a96f78ae2f0512220d5805274.tar
re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.gz
re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.bz2
re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.lz
re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.xz
re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.zst
re3-be260b49b1e5421a96f78ae2f0512220d5805274.zip
Diffstat (limited to '')
-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 74cd2590..f8b1f6b2 100644
--- a/src/render/VisibilityPlugins.cpp
+++ b/src/render/VisibilityPlugins.cpp
@@ -117,7 +117,7 @@ CVisibilityPlugins::SetRenderWareCamera(RwCamera *camera)
RpMaterial*
SetAlphaCB(RpMaterial *material, void *data)
{
- material->color.alpha = (uint8)(uint32)data;
+ ((RwRGBA*)RpMaterialGetColor(material))->alpha = (uint8)(uint32)data;
return material;
}