Skip to content
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

FIX(positional-audio): Fix and revamp Call of Duty 2 plugin #4868

Conversation

davidebeatrici
Copy link
Member

It was not working because the camera position values were all set to 0.

This commit fixes the issue while also revamping the code.

It was not working because the camera position values were all set to 0.

This commit fixes the issue while also revamping the code.
plugins/cod2/CMakeLists.txt Show resolved Hide resolved
plugins/cod2/cod2.cpp Show resolved Hide resolved
plugins/cod2/cod2.cpp Show resolved Hide resolved
@davidebeatrici davidebeatrici merged commit e8ca55b into mumble-voip:master Mar 17, 2021
avatarPos[1] = position[2] / 40.0f;
avatarPos[2] = position[0] / 40.0f;


Copy link
Member Author

Choose a reason for hiding this comment

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

Accidental extra line.

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

Successfully merging this pull request may close these issues.

None yet

2 participants