]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
added an error message stating if an image file was loaded but decoding failed
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index db6c3db4dc25591a87d32b46a8471f6f7495ec70..a9050113221d2280bf956332a08df2a15f741a87 100644 (file)
--- a/host.c
+++ b/host.c
@@ -466,10 +466,6 @@ void SV_DropClient(qboolean crash)
        }
 
        // remove leaving player from scoreboard
-       //host_client->edict->fields.server->netname = PRVM_SetEngineString(host_client->name);
-       //if ((val = PRVM_GETEDICTFIELDVALUE(host_client->edict, eval_clientcolors)))
-       //      val->_float = 0;
-       //host_client->edict->fields.server->frags = 0;
        host_client->name[0] = 0;
        host_client->colors = 0;
        host_client->frags = 0;
@@ -799,10 +795,9 @@ void Host_Main(void)
 
                                cl.oldtime = cl.time;
                                cl.time += frametime;
-                               cl.timenonlerp += frametime;
 
                                // Collect input into cmd
-                               CL_Move();
+                               CL_Input();
 
                                NetConn_ClientFrame();
 
@@ -975,6 +970,7 @@ static void Host_Init (void)
        //PR_Cmd_Init();
        PRVM_Init();
        Mod_Init();
+       World_Init();
        SV_Init();
        Host_InitCommands();
        Host_InitLocal();