diff --git a/src/w_wad.h b/src/w_wad.h index 361ee4e50..ec3013af7 100644 --- a/src/w_wad.h +++ b/src/w_wad.h @@ -99,9 +99,10 @@ void* vres_GetPatch(virtlump_t *vlump, INT32 tag); // ========================================================================= #define MAX_WADPATH 512 -#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 MAX_WADFILES 255 // maximum of wad files used at the same time +// Replay code relies on it being an UINT8. There are no SINT8s handling WAD indices, though. +// Can be set all the way up to 255 but not 256, +// because an UINT8 will never be >= 256, probably breaking some conditionals. #define lumpcache_t void *