summaryrefslogtreecommitdiffstats
path: root/src/render/Shadows.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-05-23 17:49:55 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:34:33 +0200
commit93e99299250fbc5e459883b514b871f6009edfc6 (patch)
tree551c1d8dfbc1b3cd2d8e2a2fd2a82109f54f09aa /src/render/Shadows.cpp
parentUndef PS2_AUDIO_CHANNELS for SQUEEZE_PERFORMANCE and VANILLA_DEFINES (diff)
downloadre3-93e99299250fbc5e459883b514b871f6009edfc6.tar
re3-93e99299250fbc5e459883b514b871f6009edfc6.tar.gz
re3-93e99299250fbc5e459883b514b871f6009edfc6.tar.bz2
re3-93e99299250fbc5e459883b514b871f6009edfc6.tar.lz
re3-93e99299250fbc5e459883b514b871f6009edfc6.tar.xz
re3-93e99299250fbc5e459883b514b871f6009edfc6.tar.zst
re3-93e99299250fbc5e459883b514b871f6009edfc6.zip
Diffstat (limited to 'src/render/Shadows.cpp')
-rw-r--r--src/render/Shadows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp
index ae079821..dd87bff6 100644
--- a/src/render/Shadows.cpp
+++ b/src/render/Shadows.cpp
@@ -1406,7 +1406,7 @@ CShadows::CastShadowSectorList(CPtrList &PtrList, float fStartX, float fStartY,
{
pEntity->m_scanCode = CWorld::GetCurrentScanCode();
- if ( pEntity->bUsesCollision && !pEntity->m_flagE2 )
+ if ( pEntity->bUsesCollision && !pEntity->bDontCastShadowsOn)
{
if ( IsAreaVisible(pEntity->m_area) )
{