projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab2ef8d
)
fix for beams coming from invisible objects
author
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 19 Sep 2002 23:51:53 +0000
(23:51 +0000)
committer
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 19 Sep 2002 23:51:53 +0000
(23:51 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2396
d7cf8633
-e32d-0410-b094-
e92efae38249
cl_main.c
patch
|
blob
|
history
diff --git
a/cl_main.c
b/cl_main.c
index
d64715f
..
f0259e3
100644
(file)
--- a/
cl_main.c
+++ b/
cl_main.c
@@
-849,7
+849,7
@@
void CL_RelinkBeams (void)
// if coming from the player, update the start position
//if (b->entity == cl.viewentity)
// VectorCopy (cl_entities[cl.viewentity].render.origin, b->start);
- if (b->entity)
+ if (b->entity
&& cl_entities[b->entity].state_current.active
)
{
VectorCopy (cl_entities[b->entity].render.origin, b->start);
b->start[2] += 16;