]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
increase some limits in DP_SMALLMEMORY
[xonotic/darkplaces.git] / cl_parse.c
index e41b20fb83f5cc872b67b15394fe2b4d21c3a937..f9039d03cf016842f7fe7d3b926f14f4bbdb2cb3 100644 (file)
@@ -1380,7 +1380,7 @@ void CL_StopDownload(int size, int crc)
 void CL_ParseDownload(void)
 {
        int i, start, size;
-       unsigned char data[65536];
+       unsigned char data[NET_MAXMESSAGE];
        start = MSG_ReadLong();
        size = (unsigned short)MSG_ReadShort();
 
@@ -2144,6 +2144,7 @@ void CL_ParseStatic (int large)
        //VectorCopy (ent->state_baseline.angles, ent->render.angles);
 
        Matrix4x4_CreateFromQuakeEntity(&ent->render.matrix, ent->state_baseline.origin[0], ent->state_baseline.origin[1], ent->state_baseline.origin[2], ent->state_baseline.angles[0], ent->state_baseline.angles[1], ent->state_baseline.angles[2], 1);
+       ent->render.allowdecals = true;
        CL_UpdateRenderEntity(&ent->render);
 }