]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Remove commented out code/unused prototype
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 20 Jun 2020 03:30:00 +0000 (03:30 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 20 Jun 2020 03:30:00 +0000 (03:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12705 d7cf8633-e32d-0410-b094-e92efae38249

host.c
prvm_cmds.h

diff --git a/host.c b/host.c
index d315a3996d81613c86eed59e6d8807789e5319e1..a1d0a5b62a4236e85f6404a86a37e538b2af34e6 100644 (file)
--- a/host.c
+++ b/host.c
@@ -1261,8 +1261,6 @@ static void Host_Init (void)
 
        NetConn_Init();
        Curl_Init();
-       //PR_Init();
-       //PR_Cmd_Init();
        PRVM_Init();
        Mod_Init();
        World_Init();
@@ -1411,7 +1409,6 @@ void Host_Shutdown(void)
        S_Terminate ();
        Curl_Shutdown ();
        NetConn_Shutdown ();
-       //PR_Shutdown ();
 
        if (cls.state != ca_dedicated)
        {
index c4ac87c8cac5e5dc0c9e4cf0f2847e152f89da2c..83b8fcf73819e1e26a3af93e0617b947acf1ee26 100644 (file)
@@ -214,9 +214,6 @@ float       getserverlistindexforkey(string key)
 
 #define VM_STRINGTEMP_LENGTH MAX_INPUTLINE
 
-// init code
-void PR_Cmd_Init(void);
-
 // general functions
 void VM_CheckEmptyString (prvm_prog_t *prog, const char *s);
 void VM_VarString(prvm_prog_t *prog, int first, char *out, int outlength);