From 4298399e00b5be846aa5e4237f00c34a49d44673 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 25 Jul 2021 15:38:51 +1000 Subject: [PATCH] - 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. --- source/build/include/build.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/include/build.h b/source/build/include/build.h index d0b545751..001e58a96 100644 --- a/source/build/include/build.h +++ b/source/build/include/build.h @@ -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,