summaryrefslogtreecommitdiff
path: root/src/cgame/cg_ents.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-12-05 21:05:10 +0100
committerPaweł Redman <pawel.redman@gmail.com>2015-12-05 21:05:10 +0100
commit21c41b7b5584e35edea66f66832a980363a95443 (patch)
tree95b1f5c6df096ad1f25af7b9ea8062f2915f07c6 /src/cgame/cg_ents.c
parentdc5cc800f856c82f4f8961dd9c1225c3fa4670bc (diff)
parent3cc3a553cb8f00f60664189ec8d0e0c92d8344d6 (diff)
Merge branch 'v11b'
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r--src/cgame/cg_ents.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c
index a9663ad..13e0470 100644
--- a/src/cgame/cg_ents.c
+++ b/src/cgame/cg_ents.c
@@ -236,7 +236,8 @@ static void CG_EntityEffects( centity_t *cent )
// constant light glow
- if ( cent->currentState.constantLight )
+ if ( cent->currentState.eType == ET_MOVER &&
+ cent->currentState.constantLight )
{
int cl;
int i, r, g, b;