Each CVAR_GET_FLOAT call needs to go over all cvars and strcmp with each of them to find the value. It's probably fine and I'm probably just overoptimizing, but I think it's better to read the value from cvar_t * in CHudSpeedometer and CHudJumpspeed.
Each
CVAR_GET_FLOAT
call needs to go over all cvars andstrcmp
with each of them to find the value. It's probably fine and I'm probably just overoptimizing, but I think it's better to read the value fromcvar_t *
in CHudSpeedometer and CHudJumpspeed.