File diff r25654:e264fd698eb2 → r25655:1030dcb7eb52
src/sound.cpp
Show inline comments
 
@@ -50,7 +50,7 @@ static void OpenBankFile(const char *fil
 
		/* 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 *
 

	
 
void InitializeSound()
 
{
 
	DEBUG(misc, 1, "Loading sound effects...");
 
	Debug(misc, 1, "Loading sound effects...");
 
	OpenBankFile(BaseSounds::GetUsedSet()->files->filename);
 
}