Clang-tidy: ParameterCase

This commit is contained in:
Anders Jenbo 2021-07-03 23:53:23 +02:00
commit ecea12fc15
24 changed files with 228 additions and 229 deletions

View file

@ -1363,14 +1363,14 @@ void ui_sound_init()
PrivSoundInit(sfx_UI);
}
void effects_play_sound(const char *snd_file)
void effects_play_sound(const char *sndFile)
{
if (!gbSndInited || !gbSoundOn) {
return;
}
for (auto &sfx : sgSFX) {
if (strcasecmp(sfx.pszName, snd_file) == 0 && sfx.pSnd != nullptr) {
if (strcasecmp(sfx.pszName, sndFile) == 0 && sfx.pSnd != nullptr) {
if (!sfx.pSnd->isPlaying())
snd_play_snd(sfx.pSnd.get(), 0, 0);