mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 04:11:18 +00:00
Bring the maximum WAD file count up to 255
Per @TehRealSalt's recommendation.
This commit is contained in:
parent
d820b8e0c7
commit
477c848615
1 changed files with 3 additions and 3 deletions
|
@ -77,10 +77,10 @@ typedef struct
|
|||
// =========================================================================
|
||||
|
||||
#define MAX_WADPATH 512
|
||||
#define MAX_WADFILES 250 // maximum of wad files used at the same time
|
||||
#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 (as the latter breaks for loops with UINT8 indices).
|
||||
// 5 slots are left open for tricks that hardmods might engage in, like Moe Mansion's WAD_MUSIC.
|
||||
// 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 *
|
||||
|
||||
|
|
Loading…
Reference in a new issue