projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16538d1
)
fixed bug in CL_RelinkStaticEntities related to delayed model loading, now calls...
author
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Jan 2007 19:34:20 +0000
(19:34 +0000)
committer
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Jan 2007 19:34:20 +0000
(19:34 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6743
d7cf8633
-e32d-0410-b094-
e92efae38249
cl_main.c
patch
|
blob
|
history
diff --git
a/cl_main.c
b/cl_main.c
index 29d92e94e3833adda9e7c5483021f6d985bee305..9380a58e2a771d4e36589906a0b5c6b038410a06 100644
(file)
--- a/
cl_main.c
+++ b/
cl_main.c
@@
-1222,6
+1222,7
@@
static void CL_RelinkStaticEntities(void)
// if the model was not loaded when the static entity was created we
// need to re-fetch the model pointer
e->render.model = cl.model_precache[e->state_baseline.modelindex];
+ CL_UpdateRenderEntity(&e->render);
// transparent stuff can't be lit during the opaque stage
if (e->render.effects & (EF_ADDITIVE | EF_NODEPTHTEST) || e->render.alpha < 1)
e->render.flags |= RENDER_TRANSPARENT;