diff --git a/soundlib/Load_mod.cpp b/soundlib/Load_mod.cpp index 74b2878b58..eb6c5cf190 100644 --- a/soundlib/Load_mod.cpp +++ b/soundlib/Load_mod.cpp @@ -1314,13 +1314,7 @@ bool CSoundFile::ReadMOD(FileReader &file, ModLoadingFlags loadFlags) if(++emptySampleReferences > 1) { #ifdef MPT_EXTERNAL_SAMPLES - mpt::ustring filenameHint; - if(file.GetOptionalFileName()) - { - const auto filename = file.GetOptionalFileName()->GetFilename().ToUnicode(); - filenameHint = MPT_UFORMAT(" ({}.nt or {}.as)")(filename, filename); - } - AddToLog(LogWarning, MPT_UFORMAT("This Startrekker AM file is most likely missing its companion file{}. Synthesized instruments will not play.")(filenameHint)); + AddToLog(LogWarning, U_("This Startrekker AM file is most likely missing its companion file. Synthesized instruments will not play.")); #else AddToLog(LogWarning, U_("This appears to be a Startrekker AM file with external synthesizes instruments. External instruments are currently not supported.")); #endif // MPT_EXTERNAL_SAMPLES