Skip to content

Added the ability to add callbacks to ConVar that will be called when ConVar is changed. #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Fixed incorrect type of ConVarExt::GetMax.
  • Loading branch information
CookStar committed Oct 3, 2021
commit 3672a3b2444c5ab704470991e15489f1aec6175f
2 changes: 1 addition & 1 deletion src/core/modules/cvars/cvars.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class ConVarExt
return fMin;
}

static bool GetMax(ConVar* pConVar)
static float GetMax(ConVar* pConVar)
{
float fMax;
pConVar->GetMax(fMax);
Expand Down