]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
Major update, been neglecting CVS for some time...
[xonotic/darkplaces.git] / cl_parse.c
index a548373b95f3fdadb3548321e56b53de9b8c2fe2..7b68ddefcc37c1300a14f7dc2426636bd22a0783 100644 (file)
@@ -67,7 +67,7 @@ char *svc_strings[128] =
        "svc_cutscene",
        "svc_showlmp",  // [string] iconlabel [string] lmpfile [short] x [short] y
        "svc_hidelmp",  // [string] iconlabel
-       "", // 37
+       "svc_skybox", // [string] skyname
        "", // 38
        "", // 39
        "", // 40
@@ -246,7 +246,7 @@ void CL_ParseEntityLump(char *entdata)
        char wadname[128];
        int i, j, k;
        FOG_clear(); // LordHavoc: no fog until set
-       R_SetSkyBox(""); // LordHavoc: no enviroment mapped sky until set
+       R_SetSkyBox(""); // LordHavoc: no environment mapped sky until set
        r_farclip.value = 6144; // LordHavoc: default farclip distance
        data = entdata;
        if (!data)
@@ -1196,6 +1196,9 @@ void CL_ParseServerMessage (void)
                case svc_showlmp:
                        SHOWLMP_decodeshow();
                        break;
+               case svc_skybox:
+                       R_SetSkyBox(MSG_ReadString());
+                       break;
                }
        }