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 dfffdb0..69b9734 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
                        {