From: havoc Date: Wed, 14 Feb 2007 06:53:36 +0000 (+0000) Subject: fix bug that caused trails to not appear at the right place X-Git-Tag: xonotic-v0.1.0preview~3578 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=303bc6f9ef2064617c46ea4482cd66fc4e234c05;p=xonotic%2Fdarkplaces.git fix bug that caused trails to not appear at the right place git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6837 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_main.c b/cl_main.c index 89da9e65..3b4949b3 100644 --- a/cl_main.c +++ b/cl_main.c @@ -1002,6 +1002,8 @@ void CL_UpdateNetworkEntityTrail(entity_t *e) VectorMAM(0.5f, e->render.model->normalmins, 0.5f, e->render.model->normalmaxs, o); Matrix4x4_Transform(&e->render.matrix, o, origin); } + else + Matrix4x4_OriginFromMatrix(&e->render.matrix, origin); // handle particle trails and such effects now that we know where this // entity is in the world...