Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
viciious committed Oct 18, 2023
1 parent db92595 commit c177e09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
1 change: 0 additions & 1 deletion doomdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,6 @@ int W_Push (void);
int W_Pop (void);
void W_OpenPWAD (wadinfo_t *wad, void *ptr);
void W_ReadPWAD(void);
void W_SetPWAD (wadinfo_t *wad, void *lumpinfo);
lumpinfo_t *W_GetLumpInfo (int lump);

int W_CheckNumForName (const char *name);
Expand Down
19 changes: 1 addition & 18 deletions w_wad.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/* GLOBALS */
/*============= */

#define MAXWADS 3 /* IWAD + CD PWAD + virtual CD PWAD */
#define MAXWADS 2 /* IWAD + CD PWAD + virtual CD PWAD */

typedef struct
{
Expand Down Expand Up @@ -139,23 +139,6 @@ void W_Init (void)
W_InitCDPWAD();
}

/*
====================
=
= W_SetPWAD
=
====================
*/
void W_SetPWAD (wadinfo_t *wadi, void *lumpinfo)
{
wadfile_t *wad;
wad = &wadfile[wadnum];
wad->cdlength = wadfile[1].cdlength;
wad->cdoffset = wadfile[1].cdoffset;
wad->lumpinfo = lumpinfo;
wad->numlumps = wadi->numlumps;
}

/*
====================
=
Expand Down

0 comments on commit c177e09

Please sign in to comment.