diff --git a/src/ObjLoading/ObjContainer/SoundBank/SoundBankWriter.cpp b/src/ObjLoading/ObjContainer/SoundBank/SoundBankWriter.cpp index e9a728a5..449fe0e9 100644 --- a/src/ObjLoading/ObjContainer/SoundBank/SoundBankWriter.cpp +++ b/src/ObjLoading/ObjContainer/SoundBank/SoundBankWriter.cpp @@ -222,7 +222,12 @@ public: bool Write() override { - WriteEntries(); + if (!WriteEntries()) + { + std::cerr << "An error occurred writing the sound bank entires. Please check output." << std::endl; + return false; + } + WriteEntryList(); WriteChecksumList(); WriteBranding();