mirror of
https://github.com/rehlds/rehlds.git
synced 2025-02-26 21:41:06 +03:00
SV_CountResourceByType: Remove useless filter
This commit is contained in:
parent
20de6914f7
commit
7a415ed47c
@ -5039,9 +5039,6 @@ size_t SV_CountResourceByType(resourcetype_t type, resource_t **pResourceList, s
|
|||||||
if (r->type != type)
|
if (r->type != type)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (r->type == t_decal && r->nIndex >= MAX_DECALS)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (pResourceList)
|
if (pResourceList)
|
||||||
pResourceList[nCount] = r;
|
pResourceList[nCount] = r;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user