mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
Reorder checks.
This commit is contained in:
parent
fb274f1212
commit
ff58521763
@ -1192,7 +1192,7 @@ client_sprite_t *GetSpriteList( client_sprite_t *pList, const char *psz, int iRe
|
|||||||
|
|
||||||
while( i-- )
|
while( i-- )
|
||||||
{
|
{
|
||||||
if( ( !strcmp( psz, p->szName ) ) && ( p->iRes == iRes ) )
|
if( p->iRes == iRes && !strcmp( psz, p->szName ))
|
||||||
return p;
|
return p;
|
||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user