From: havoc Date: Wed, 6 Apr 2005 20:30:19 +0000 (+0000) Subject: fix 256 frame limit (stupid legacy bug in entity_state_t building code) X-Git-Tag: xonotic-v0.1.0preview~5013 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=46bc5afbbd658c6f3d85a73a101bbedc15c46176;p=xonotic%2Fdarkplaces.git fix 256 frame limit (stupid legacy bug in entity_state_t building code) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5164 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index f90512d5..39d3f9d5 100644 --- a/sv_main.c +++ b/sv_main.c @@ -469,10 +469,10 @@ void SV_PrepareEntitiesForSending(void) VectorCopy(ent->v->origin, cs.origin); VectorCopy(ent->v->angles, cs.angles); cs.flags = 0; - cs.effects = (int)ent->v->effects; - cs.colormap = (qbyte)ent->v->colormap; - cs.skin = (qbyte)ent->v->skin; - cs.frame = (qbyte)ent->v->frame; + cs.effects = (unsigned)ent->v->effects; + cs.colormap = (unsigned)ent->v->colormap; + cs.skin = (unsigned)ent->v->skin; + cs.frame = (unsigned)ent->v->frame; cs.viewmodelforclient = GETEDICTFIELDVALUE(ent, eval_viewmodelforclient)->edict; cs.exteriormodelforclient = GETEDICTFIELDVALUE(ent, eval_exteriormodeltoclient)->edict; cs.nodrawtoclient = GETEDICTFIELDVALUE(ent, eval_nodrawtoclient)->edict;