]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
got rid of Hunk_Alloc, all allocations now have a proper name (perhaps a bit too...
[xonotic/darkplaces.git] / host_cmd.c
index 44701986a659c7a5fd94e23d82dcf8e345c5ea07..5051ed0e0e31cc3b7410b371ff5657ac9a23d060 100644 (file)
@@ -595,7 +595,7 @@ void Host_Loadgame_f (void)
        for (i=0 ; i<MAX_LIGHTSTYLES ; i++)
        {
                fscanf (f, "%s\n", str);
-               sv.lightstyles[i] = Hunk_Alloc (strlen(str)+1);
+               sv.lightstyles[i] = Hunk_AllocName (strlen(str)+1, "lightstyles");
                strcpy (sv.lightstyles[i], str);
        }