Skip to content

Conditional query optimization? Does this break anything?#33

Open
followingthefasciaplane wants to merge 3 commits intohermansimensen:masterfrom
followingthefasciaplane:followingthefasciaplane-patch-1
Open

Conditional query optimization? Does this break anything?#33
followingthefasciaplane wants to merge 3 commits intohermansimensen:masterfrom
followingthefasciaplane:followingthefasciaplane-patch-1

Conversation

@followingthefasciaplane
Copy link

This is built on top of my other PR: #32

Do we need to be querying m_customaccel, m_customaccel_exponent, m_customaccel_scale, m_customaccel_max, m_filter if m_rawinput is not 0? The values of these cvars do nothing if m_rawinput is set to 1.

Additionally, I have made joy_yawsensitivity querying conditional based on joystick 1

Do we need to be querying cvars that have no effect with m_rawinput 1 or joystick 0? Does this break anything?
@followingthefasciaplane
Copy link
Author

From my testing, everything seems to work fine.

}
if (g_JoyStickChangedCount[client] > 1)
{
PrintToAdmins("%N changed their joystick ConVar to %d", client, joyStick);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PrintToAdmins is missing "client" as the first param

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants