This commit is contained in:
Alug committed 2025-01-22 17:24:11 +01:00
1 parent 7f9edddbcc
commit bfabdb7b6a
1 file changed
+1 -1
+1 -1
View File
@@ -4423,7 +4423,7 @@ static void HWR_AddPrecipitationSprites(void)
{
for (by = yl; by <= yh; by++)
{
for (th = precipblocklinks[(by * bmapwidth) + bx]; th; th = th->bnext)
for (th = precipblocklinks[(by * bmapwidth) + bx]; th; th = next)
{
// Store this beforehand because HWR_ProjectPrecipitationSprite may free th (see P_PrecipThinker)
next = th->bnext;