]> icculus.org git repositories - divverent/darkplaces.git/commit
fixed bug in CSQC_AddRenderEdict (it was using the tempentity's modelindex rather...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Jan 2007 01:40:36 +0000 (01:40 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Jan 2007 01:40:36 +0000 (01:40 +0000)
commit0bdea16b65430b64282c4e9bed4953f20ef2e6ff
treeb686a3b3e0cfda3b17954f2b9469c313aa4d7277
parenteeab40e8b070ade79c72d8f164fff98b238c7275
fixed bug in CSQC_AddRenderEdict (it was using the tempentity's modelindex rather than the vm entity, meaning that csqc entities never had a visible model)
reduced code by merging cl.csqc_model_precache lookups into CSQC_GetModelByIndex and CSQC_GetModelFromEntity functions

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6738 d7cf8633-e32d-0410-b094-e92efae38249
cl_main.c
clvm_cmds.c
csprogs.c