]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
don't warn about CSQC_Ent_Remove on an already-removed entity (it could
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 24 Jul 2008 01:37:38 +0000 (01:37 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 24 Jul 2008 01:37:38 +0000 (01:37 +0000)
be a repeated update)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8426 d7cf8633-e32d-0410-b094-e92efae38249

csprogs.c

index dfffdb0ecbf010f721b8e72fbb62067c6334f952..69b9734c55309880158dd2f6f3012227f9a16fb3 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -563,7 +563,13 @@ void CSQC_ReadEntities (void)
                                        cl.csqc_server2csqcentitynumber[realentnum] = 0;
                                }
                                else
-                                       Con_Printf("Bad csqc_server2csqcentitynumber map\n");   //[515]: never happens ?
+                               {
+                                       // LordHavoc: removing an entity that is already gone on
+                                       // the csqc side is possible for legitimate reasons (such
+                                       // as a repeat of the remove message), so no warning is
+                                       // needed
+                                       //Con_Printf("Bad csqc_server2csqcentitynumber map\n"); //[515]: never happens ?
+                               }
                        }
                        else
                        {