From 2ab3fb5dd02aad980718f1ac176f06f7b7e25f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Wed, 20 May 2020 20:10:05 +0300 Subject: Fixes for melees and various things --- src/entities/Entity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/entities/Entity.cpp') 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 -- cgit v1.2.3