clear thicksides with memset instead of loop
This commit is contained in:
parent
6a1bd29cb6
commit
24e15786a2
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue