Skip to content

Commit

Permalink
Client: HUD: Ammo: Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
tmp64 committed Nov 25, 2023
1 parent fd72b49 commit 6f5de39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/game/client/hud/ammo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1271,8 +1271,7 @@ client_sprite_t *GetSpriteFromList(client_sprite_t *pList, const char *pszNameSt
pFallback = p;
}
}
if (p->iRes == iRes && !strncmp(pszNameStart, p->szName, len))
return p;

p++;
}

Expand Down

0 comments on commit 6f5de39

Please sign in to comment.