TEST:raise size of sectors considered too smol for precip

theres been a bunch of very smoll sectors that still get precip spawned (see howling bogs, outside of the actual map)
this i just an abitrary value, so gotta see how thi s goes
This commit is contained in:
Alug committed 2025-08-03 15:39:01 +02:00
1 parent 7b64b22012
commit f3cfa969c9
1 file changed
+1 -1
+1 -1
View File
@@ -10223,7 +10223,7 @@ void P_SpawnPrecipitation(void)
continue;
// Exists, but is too small for reasonable precipitation.
if (FixedDiv(precipsector->sector->ceilingheight - precipsector->sector->floorheight, mapobjectscale) < 64<<FRACBITS)
if (FixedDiv(precipsector->sector->ceilingheight - precipsector->sector->floorheight, mapobjectscale) < 256<<FRACBITS)
continue;
// Don't set z properly yet...