From 40b76564595459c2a1bbbdac928e4a1b6f05eb3f Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 20 Oct 2009 12:45:02 +0000 Subject: [PATCH] fix typo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9363 d7cf8633-e32d-0410-b094-e92efae38249 --- protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol.c b/protocol.c index acd5999a..6044e867 100644 --- a/protocol.c +++ b/protocol.c @@ -2032,7 +2032,7 @@ void EntityState5_WriteUpdate(int number, const entity_state_t *s, int changedbi else { bits = changedbits; - if ((bits & E5_ORIGIN) && (s->flags & RENDER_LOWPRECISION) && (s->exteriormodelforclient || s->tagentity || s->viewmodelforclient || (s->number >= 1 && s->number <= svs.maxclients) || s->origin[0] <= -4096.0625 || s->origin[0] >= 4095.9375 || s->origin[1] <= -4096.0625 || s->origin[1] >= 4095.9375 || s->origin[2] <= -4096.0625 || s->origin[2] >= 4095.9375)) + if ((bits & E5_ORIGIN) && !(s->flags & RENDER_LOWPRECISION) && (s->exteriormodelforclient || s->tagentity || s->viewmodelforclient || (s->number >= 1 && s->number <= svs.maxclients) || s->origin[0] <= -4096.0625 || s->origin[0] >= 4095.9375 || s->origin[1] <= -4096.0625 || s->origin[1] >= 4095.9375 || s->origin[2] <= -4096.0625 || s->origin[2] >= 4095.9375)) // maybe also add: ((model = sv.models[s->modelindex]) != NULL && model->name[0] == '*') bits |= E5_ORIGIN32; // possible values: -- 2.39.2