Don't allow kart files to be downloaded

This commit is contained in:
TehRealSalt 2018-11-15 19:18:04 -05:00
parent 6b772aab59
commit 879267a709
1 changed files with 8 additions and 4 deletions

View File

@ -757,11 +757,15 @@ void Got_Filetxpak(void)
if (!(strcmp(filename, "srb2.srb") if (!(strcmp(filename, "srb2.srb")
&& strcmp(filename, "srb2.wad") && strcmp(filename, "srb2.wad")
&& strcmp(filename, "zones.dta")
&& strcmp(filename, "player.dta")
&& strcmp(filename, "rings.dta")
&& strcmp(filename, "patch.dta") && strcmp(filename, "patch.dta")
&& strcmp(filename, "music.dta") //&& strcmp(filename, "music.dta")
&& strcmp(filename, "gfx.kart")
&& strcmp(filename, "textures.kart")
&& strcmp(filename, "chars.kart")
&& strcmp(filename, "maps.kart")
&& strcmp(filename, "sounds.kart")
&& strcmp(filename, "music.kart")
&& strcmp(filename, "patch.kart")
)) ))
I_Error("Tried to download \"%s\"", filename); I_Error("Tried to download \"%s\"", filename);