]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Kill an useless NULL check that only confuses.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 4 Feb 2015 12:23:55 +0000 (12:23 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 4 Feb 2015 12:23:55 +0000 (12:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12140 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index bfe2a794a81e34f28b36689542252cb9dd7f5a67..17a171dfd89b6572c0fd85e7e2e8de8f909148e6 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -933,7 +933,7 @@ void SV_SendServerinfo (client_t *client)
        MSG_WriteString (&client->netconnection->message,message);
 
        SV_StopDemoRecording(client); // to split up demos into different files
-       if(sv_autodemo_perclient.integer && client->netconnection)
+       if(sv_autodemo_perclient.integer)
        {
                char demofile[MAX_OSPATH];
                char ipaddress[MAX_QPATH];