Clang-tidy: ParameterCase
This commit is contained in:
parent
fc353fc799
commit
ecea12fc15
24 changed files with 228 additions and 229 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue