From: havoc Date: Mon, 15 Sep 2003 02:21:13 +0000 (+0000) Subject: made a commit debugging message only happen with developer_networkentities X-Git-Tag: xonotic-v0.1.0preview~6382 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=aebedafec3b86211bd86a312d8c457acf209e1f7;p=xonotic%2Fdarkplaces.git made a commit debugging message only happen with developer_networkentities git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3461 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/protocol.c b/protocol.c index 410aa56e..1c95bdb1 100644 --- a/protocol.c +++ b/protocol.c @@ -721,7 +721,7 @@ void EntityFrame4_AckFrame(entity_database4_t *d, int framenum) { //*EntityFrame4_GetReferenceEntity(d, commit->entity[j].number) = commit->entity[j]; entity_state_t *s = EntityFrame4_GetReferenceEntity(d, commit->entity[j].number); - if (commit->entity[j].active != s->active) + if (developer_networkentities.integer && commit->entity[j].active != s->active) { if (commit->entity[j].active) Con_Printf("commit entity %i has become active (modelindex %i)\n", commit->entity[j].number, commit->entity[j].modelindex);