clear thicksides with memset instead of loop

This commit is contained in:
NepDisk 2025-10-13 11:19:05 -04:00
parent 6a1bd29cb6
commit 24e15786a2

View file

@ -2013,8 +2013,7 @@ void R_StoreWallRange(INT32 start, INT32 stop)
numbackffloors = 0;
for (i = 0; i < MAXFFLOORS; i++)
ds_p->thicksides[i] = NULL;
memset(ds_p->thicksides, 0, MAXFFLOORS * sizeof(*ds_p->thicksides));
if (numffloors)
{