- Build: Change MAXSPRITESONSCREEN from constant of 2560 to 1/4 of MAXSPRITES.

* Mods like Blood's Eviction are pushing these limits hard. Bumping the onscreen limit resolved recurring crash on `sstation.map` with no apparent ill-effects.
This commit is contained in:
Mitchell Richters 2021-07-25 15:38:51 +10:00
parent ffe62da3c7
commit 4298399e00

View file

@ -51,7 +51,7 @@ enum
MAXSTATUS = 1024,
// Maximum number of component tiles in a multi-psky:
MAXPSKYTILES = 16,
MAXSPRITESONSCREEN = 2560,
MAXSPRITESONSCREEN = MAXSPRITES >> 2,
MAXUNIQHUDID = 256, //Extra slots so HUD models can store animation state without messing game sprites
TSPR_TEMP = 99,