don't set MAX_WADFILES to 256, worst mistake of my life

This commit is contained in:
Latapostrophe 2020-03-11 12:34:35 +01:00
parent 168b8ac052
commit 513c3d1c3f
1 changed files with 3 additions and 2 deletions

View File

@ -77,8 +77,9 @@ typedef struct
// =========================================================================
#define MAX_WADPATH 512
#define MAX_WADFILES 256 // maximum of wad files used at the same time
// (there is a max of simultaneous open files anyway, and this should be plenty)
#define MAX_WADFILES 127 // maximum of wad files used at the same time
// Replay code relies on it being an UINT8 and, just to be safe, in case some wad counter somewhere is a SINT8, you should NOT go above 127 here if you're lazy like me.
// Besides, are there truly 127 wads worth your interrest?
#define lumpcache_t void *