]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
cleaned up many text buffer sizes throughout the engine, most now use MAX_INPUTLINE...
[xonotic/darkplaces.git] / cl_parse.c
index f32d9b48d3c4b5f09527c6a2f9ff1250249a8a94..7223ce10e753ac4b58a64fcc257526210ee0faf4 100644 (file)
@@ -213,7 +213,7 @@ void CL_KeepaliveMessage (void)
 void CL_ParseEntityLump(char *entdata)
 {
        const char *data;
-       char key[128], value[4096];
+       char key[128], value[MAX_INPUTLINE];
        FOG_clear(); // LordHavoc: no fog until set
        // LordHavoc: default to the map's sky (q3 shader parsing sets this)
        R_SetSkyBox(cl.worldmodel->brush.skybox);