Codechange: convert printf DEBUG statements to fmt Debug statements

This commit is contained in:
rubidium42
2021-06-12 09:10:17 +02:00
committed by rubidium42
parent a99ac62c1a
commit 55a11710a6
131 changed files with 601 additions and 601 deletions

View File

@@ -50,7 +50,7 @@ static void OpenBankFile(const char *filename)
/* Corrupt sample data? Just leave the allocated memory as those tell
* there is no sound to play (size = 0 due to calloc). Not allocating
* the memory disables valid NewGRFs that replace sounds. */
DEBUG(misc, 6, "Incorrect number of sounds in '%s', ignoring.", filename);
Debug(misc, 6, "Incorrect number of sounds in '{}', ignoring.", filename);
return;
}
@@ -157,7 +157,7 @@ static bool SetBankSource(MixerChannel *mc, const SoundEntry *sound)
void InitializeSound()
{
DEBUG(misc, 1, "Loading sound effects...");
Debug(misc, 1, "Loading sound effects...");
OpenBankFile(BaseSounds::GetUsedSet()->files->filename);
}