Fixed idiotic error message, as the file name is usually not empty.

This commit is contained in:
Guillaume Melquiond 2009-08-08 10:09:37 +00:00
parent 3d5f9e0723
commit 61a81a2576

View file

@ -704,7 +704,7 @@ static Mix_Chunk* load_chunk(const std::string& file, channel_group group)
if (!filename.empty()) {
temp_chunk.set_data(Mix_LoadWAV(filename.c_str()));
} else {
ERR_AUDIO << "Could not load sound with empty filename\n";
ERR_AUDIO << "Could not load sound file '" << file << "'.\n";
throw chunk_load_exception();
}