]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
Merge branch 'Mario/dpk_support' of gitlab.com:xonotic/darkplaces
[xonotic/darkplaces.git] / sv_main.c
index 777d3e577959ff730fbaa2ce4a53a34f46d1dce6..4479a30e6a77ad4e2eb0a46cee9bd8f4751cb243 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1302,7 +1302,7 @@ static void SV_Download_f(cmd_state_t *cmd)
 
        if (!sv_allowdownloads_archive.integer)
        {
-               if (!strcasecmp(extension, "pak") || !strcasecmp(extension, "pk3"))
+               if (!strcasecmp(extension, "pak") || !strcasecmp(extension, "pk3") || !strcasecmp(extension, "dpk"))
                {
                        SV_ClientPrintf("Download rejected: file \"%s\" is an archive\nYou must separately download or purchase the data archives for this game/mod to get this file\n", host_client->download_name);
                        SV_ClientCommands("\nstopdownload\n");