Skip to content

Commit

Permalink
fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrc6 committed Nov 21, 2024
1 parent 1e82b99 commit 3af9f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/game/client/components/bindwheel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void CBindWheel::ConOpenBindwheel(IConsole::IResult *pResult, void *pUserData)

void CBindWheel::ConAddBindwheel_Legacy(IConsole::IResult *pResult, void *pUserData)
{
int Bindpos_Legacy = pResult->GetInteger(0);
//int Bindpos_Legacy = pResult->GetInteger(0);
const char *aName = pResult->GetString(1);
const char *aCommand = pResult->GetString(2);

Expand Down Expand Up @@ -65,7 +65,7 @@ void CBindWheel::ConRemoveAllBinds(IConsole::IResult *pResult, void *pUserData)

void CBindWheel::AddBind(const char *pName, const char *pCommand)
{
if(pName[0] == 0 && pCommand[0] == 0 || m_vBinds.size() > MAX_BINDS)
if((pName[0] == 0 && pCommand[0] == 0) || m_vBinds.size() > MAX_BINDS)
return;

// Don't allow duplicates
Expand Down
1 change: 0 additions & 1 deletion src/game/client/components/menus_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3638,7 +3638,6 @@ void CMenus::RenderSettingsTClient(CUIRect MainView)

const float Radius = 190.0f;
vec2 Pos{Screen.w / 2.0f - 55.0f, Screen.h / 2.0f};
CUIRect CircleRect;
Pos = vec2(MainView.x + MainView.w / 1.5f, MainView.y + MainView.h / 2.0f);
// Draw Circle
Graphics()->TextureClear();
Expand Down

0 comments on commit 3af9f5d

Please sign in to comment.