From: divverent Date: Tue, 20 Oct 2009 09:44:06 +0000 (+0000) Subject: culling: fix culling of rotating entities... might help with greatwall bug? X-Git-Tag: xonotic-v0.1.0preview~1279 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b05a5853768c3818e8fe535f36e1314c6e889a93;p=xonotic%2Fdarkplaces.git culling: fix culling of rotating entities... might help with greatwall bug? git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9357 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index bcd38766..0f2ecc49 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1239,7 +1239,7 @@ static qboolean SV_PrepareEntityForSending (prvm_edict_t *ent, entity_state_t *c VectorMA(cs->origin, scale, model->rotatedmins, cullmins); VectorMA(cs->origin, scale, model->rotatedmaxs, cullmaxs); } - else if (cs->angles[1]) + else if (cs->angles[1] || ((effects | model->effects) & EF_ROTATE)) { VectorMA(cs->origin, scale, model->yawmins, cullmins); VectorMA(cs->origin, scale, model->yawmaxs, cullmaxs);