From aebedafec3b86211bd86a312d8c457acf209e1f7 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 15 Sep 2003 02:21:13 +0000 Subject: [PATCH] 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 --- protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2