allow reading of gzipped bsps

This commit is contained in:
Bill Currie 2003-09-11 18:21:26 +00:00
parent 9297732f86
commit 84f58bdd5d

View file

@ -197,7 +197,7 @@ main (int argc, char **argv)
e = strrchr (litfile->str, '.');
dstring_replace (litfile, e - litfile->str, -1, ".lit", 5);
f = Qopen (bspfile, "rb");
f = Qopen (bspfile, "rbz");
bsp = LoadBSPFile (f, Qfilesize (f));
Qclose (f);
LoadEntities ();