Skip to content

Commit

Permalink
Remove not needed overload signatures.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neloreck committed Jan 14, 2025
1 parent 37dfa8a commit b7b0604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
10 changes: 0 additions & 10 deletions src/xrGame/HudItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,6 @@ bool CHudItem::TryPlayAnimIdle()
return false;
}

bool CHudItem::isHUDAnimationExist(pcstr anim_name) const
{
return isHUDAnimationExist(anim_name, false);
}

//AVO: check if animation exists
bool CHudItem::isHUDAnimationExist(pcstr anim_name, bool is_silent) const
{
Expand Down Expand Up @@ -410,11 +405,6 @@ bool CHudItem::isHUDAnimationExist(pcstr anim_name, bool is_silent) const
return false;
}

pcstr CHudItem::WhichHUDAnimationExist(pcstr anim_name, pcstr anim_name2) const
{
return WhichHUDAnimationExist(anim_name, anim_name2, false);
}

pcstr CHudItem::WhichHUDAnimationExist(pcstr anim_name, pcstr anim_name2, bool is_silent) const
{
if (isHUDAnimationExist(anim_name, is_silent))
Expand Down
6 changes: 2 additions & 4 deletions src/xrGame/HudItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@ class CHudItem : public CHUDState

virtual CHudItem* cast_hud_item() { return this; }
void PlayAnimIdleMovingCrouch(); //AVO: new crouch idle animation
bool isHUDAnimationExist(pcstr anim_name) const;
bool isHUDAnimationExist(pcstr anim_name, bool is_silent) const;
pcstr WhichHUDAnimationExist(pcstr anim_name, pcstr anim_name2) const;
pcstr WhichHUDAnimationExist(pcstr anim_name, pcstr anim_name2, bool is_silent) const;
bool isHUDAnimationExist(pcstr anim_name, bool silent = false) const;
pcstr WhichHUDAnimationExist(pcstr anim_name, pcstr anim_name2, bool silent = false) const;
};

0 comments on commit b7b0604

Please sign in to comment.