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

SV_BuildSoundMsg: forgoten newline \n in Con_Printf() #965

Closed
wopox1337 opened this issue Apr 16, 2023 · 1 comment
Closed

SV_BuildSoundMsg: forgoten newline \n in Con_Printf() #965

wopox1337 opened this issue Apr 16, 2023 · 1 comment

Comments

@wopox1337
Copy link
Collaborator

wopox1337 commented Apr 16, 2023

Con_Printf("%s: volume = %i", __func__, volume);
volume = (volume < 0) ? 0 : 255;
}
if (attenuation < 0.0f || attenuation > 4.0f)
{
Con_Printf("%s: attenuation = %f", __func__, attenuation);
attenuation = (attenuation < 0.0f) ? 0.0f : 4.0f;
}
if (channel < 0 || channel > 7)
{
Con_Printf("%s: channel = %i", __func__, channel);
channel = (channel < 0) ? CHAN_AUTO : CHAN_NETWORKVOICE_BASE;
}
if (pitch < 0 || pitch > 255)
{
Con_Printf("%s: pitch = %i", __func__, pitch);

as example below:

Con_Printf("%s: %s not precached (%d)\n", __func__, sample, sound_num);

@StevenKal
Copy link
Contributor

StevenKal commented May 3, 2023

@wopox1337 : Knowing you have repository rights as collaborator & are able to build releases too like the owner, can you explain why you do not just directly add your changes instead of creating issues or PRs, especially for tiny things like this?
Same thing happen in ReGame like here.

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

No branches or pull requests

2 participants