]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
made a commit debugging message only happen with developer_networkentities
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Sep 2003 02:21:13 +0000 (02:21 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Sep 2003 02:21:13 +0000 (02:21 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3461 d7cf8633-e32d-0410-b094-e92efae38249

protocol.c

index 410aa56e773b0bda85e979dfe60bf69a8ef4b1bb..1c95bdb1680b5ffa08da6c19d15abbe1f2464857 100644 (file)
@@ -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);