]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
merged CL_MoveParticles, CL_MoveDecals, and R_MoveExplosions into their
[xonotic/darkplaces.git] / cl_parse.c
index 2f8d289390e3fbdaf5e34ab64f23bf83a9234be5..90874778dc6b8cfad1ddcbc8fd8c35526fc7d1c8 100644 (file)
@@ -365,6 +365,7 @@ void CL_ParseEntityLump(char *entdata)
                {
                        r_refdef.fog_start = 0;
                        r_refdef.fog_alpha = 1;
+                       r_refdef.fog_end = 16384;
                        sscanf(value, "%f %f %f %f %f %f %f", &r_refdef.fog_density, &r_refdef.fog_red, &r_refdef.fog_green, &r_refdef.fog_blue, &r_refdef.fog_alpha, &r_refdef.fog_start, &r_refdef.fog_end);
                }
                else if (!strcmp("fog_density", key))
@@ -3333,14 +3334,20 @@ void CL_ParseServerMessage(void)
                                EntityFrameQW_CL_ReadFrame(false);
                                // first update is the final signon stage
                                if (cls.signon == SIGNONS - 1)
+                               {
                                        cls.signon = SIGNONS;
+                                       CL_SignonReply ();
+                               }
                                break;
 
                        case qw_svc_deltapacketentities:
                                EntityFrameQW_CL_ReadFrame(true);
                                // first update is the final signon stage
                                if (cls.signon == SIGNONS - 1)
+                               {
                                        cls.signon = SIGNONS;
+                                       CL_SignonReply ();
+                               }
                                break;
 
                        case qw_svc_maxspeed: