mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-24 10:50:48 +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-- )
|
||||
{
|
||||
if( ( !strcmp( psz, p->szName ) ) && ( p->iRes == iRes ) )
|
||||
if( p->iRes == iRes && !strcmp( psz, p->szName ))
|
||||
return p;
|
||||
p++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user