diff --git a/cl_dll/ammo.cpp b/cl_dll/ammo.cpp index 68b0314e..f4c2e1cd 100644 --- a/cl_dll/ammo.cpp +++ b/cl_dll/ammo.cpp @@ -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++; }