mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Fix being able to download our data files
This commit is contained in:
parent
9ba424a6c4
commit
340c948c71
1 changed files with 11 additions and 9 deletions
|
|
@ -1299,16 +1299,18 @@ void PT_FileFragment(void)
|
||||||
filename = va("%s", file->filename);
|
filename = va("%s", file->filename);
|
||||||
nameonly(filename);
|
nameonly(filename);
|
||||||
|
|
||||||
if (!(strcmp(filename, "main.kart")
|
if (!strcmp(filename, "main.kart")
|
||||||
&& strcmp(filename, "gfx.pk3")
|
|| !strcmp(filename, "gfx.pk3")
|
||||||
&& strcmp(filename, "textures.pk3")
|
|| !strcmp(filename, "textures.pk3")
|
||||||
&& strcmp(filename, "chars.pk3")
|
|| !strcmp(filename, "chars.pk3")
|
||||||
&& strcmp(filename, "maps.wad")
|
|| !strcmp(filename, "maps.pk3")
|
||||||
&& strcmp(filename, "patch.pk3")
|
|| !strcmp(filename, "patch.pk3")
|
||||||
&& strcmp(filename, "sounds.wad")
|
|| !strcmp(filename, "sounds.pk3")
|
||||||
&& strcmp(filename, "music.wad")
|
|| !strcmp(filename, "music.pk3")
|
||||||
))
|
)
|
||||||
|
{
|
||||||
I_Error("Tried to download \"%s\"", filename);
|
I_Error("Tried to download \"%s\"", filename);
|
||||||
|
}
|
||||||
|
|
||||||
filename = file->filename;
|
filename = file->filename;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue