diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-20 19:10:05 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-20 19:21:27 +0200 |
commit | 2ab3fb5dd02aad980718f1ac176f06f7b7e25f41 (patch) | |
tree | 974cd9b8b95fb9655621143932eca14154fe7df6 /src/entities/Entity.cpp | |
parent | Merge pull request #569 from aap/miami (diff) | |
download | re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.gz re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.bz2 re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.lz re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.xz re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.zst re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.zip |
Diffstat (limited to 'src/entities/Entity.cpp')
-rw-r--r-- | src/entities/Entity.cpp | 4 |
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 |