misc fixes/tweaks/stuff intended to get the emscripten port working better.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4456 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-08-07 14:20:24 +00:00
parent cf893a1921
commit 3b51dae2c9
21 changed files with 1303 additions and 135 deletions

View file

@ -254,7 +254,7 @@ static texwadlump_t texwadlump[TEXWAD_MAXIMAGES];
typedef struct wadfile_s {
char name[64];
FILE *file;
vfsfile_t *file;
struct wadfile_s *next;
} wadfile_t;
@ -265,7 +265,7 @@ void Wads_Flush (void)
wadfile_t *wf;
while(openwadfiles)
{
fclose(openwadfiles->file);
VFS_CLOSE(openwadfiles->file);
wf = openwadfiles->next;
Z_Free(openwadfiles);