summaryrefslogtreecommitdiffstats
path: root/src/entities/Entity.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-20 19:55:05 +0200
committerGitHub <noreply@github.com>2020-05-20 19:55:05 +0200
commit71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3 (patch)
treebcdf3151eaab37430d9aeac886a55acbe7f65ccd /src/entities/Entity.cpp
parentMerge remote-tracking branch 'origin/master' into miami (diff)
parentFixes for melees and various things (diff)
downloadre3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.gz
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.bz2
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.lz
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.xz
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.zst
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.zip
Diffstat (limited to 'src/entities/Entity.cpp')
-rw-r--r--src/entities/Entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index efa67f36..a0c5c484 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -399,8 +399,8 @@ CEntity::HasPreRenderEffects(void)
GetModelIndex() == MI_MISSILE ||
GetModelIndex() == MI_BEACHBALL ||
IsGlass(GetModelIndex()) ||
- IsObject() && ((CObject*)this)->bIsPickup;
- IsStreetLight(GetModelIndex());
+ IsObject() && ((CObject*)this)->bIsPickup ||
+ IsLightWithPreRenderEffects(GetModelIndex());
}
void