]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
some whitespace changes
[xonotic/darkplaces.git] / host_cmd.c
index 7510ee753673dbbc5974a34e645ed826c1c6ecd5..5a23bfca1d5f68845ba766450a1d5d1a55b7ddf1 100644 (file)
@@ -1065,7 +1065,7 @@ void Host_Spawn_f (void)
                pr_global_struct->self = EDICT_TO_PROG(sv_player);
                PR_ExecuteProgram (pr_global_struct->ClientConnect, "QC function ClientConnect is missing");
 
-               if ((Sys_FloatTime() - host_client->netconnection->connecttime) <= sv.time)
+               if ((Sys_DoubleTime() - host_client->netconnection->connecttime) <= sv.time)
                        Sys_Printf ("%s entered the game\n", host_client->name);
 
                PR_ExecuteProgram (pr_global_struct->PutClientInServer, "QC function PutClientInServer is missing");