Fix whitespace

This commit is contained in:
Jbleezy 2024-09-15 21:27:13 -07:00
parent fe766a734f
commit 4ff138c67b
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ bool AssetLoaderSoundBank::CanLoadFromRaw() const
size_t GetValueIndex(const std::string& value, const std::string* lookupTable, size_t len) size_t GetValueIndex(const std::string& value, const std::string* lookupTable, size_t len)
{ {
if (value.empty()) if (value.empty())
return 0; return 0;
for (auto i = 0u; i < len; i++) for (auto i = 0u; i < len; i++)
{ {
@ -140,7 +140,7 @@ bool LoadSoundAlias(MemoryManager* memory, SndAlias* alias, const ParsedCsvRow&
alias->subtitle = memory->Dup(subtitle.data()); alias->subtitle = memory->Dup(subtitle.data());
alias->duck = Common::SND_HashName(row.GetValue("duck").data()); alias->duck = Common::SND_HashName(row.GetValue("duck").data());
alias->volMin = row.GetValueInt<decltype(alias->volMin)>("vol_min"); alias->volMin = row.GetValueInt<decltype(alias->volMin)>("vol_min");
alias->volMax = row.GetValueInt<decltype(alias->volMax)>("vol_max"); alias->volMax = row.GetValueInt<decltype(alias->volMax)>("vol_max");
alias->distMin = row.GetValueInt<decltype(alias->distMin)>("dist_min"); alias->distMin = row.GetValueInt<decltype(alias->distMin)>("dist_min");

View File

@ -227,7 +227,7 @@ class AssetDumperSndBank::Internal
{ {
// name // name
stream.WriteColumn(alias->name); stream.WriteColumn(alias->name);
// file // file
stream.WriteColumn(alias->assetFileName ? alias->assetFileName + extension : ""); stream.WriteColumn(alias->assetFileName ? alias->assetFileName + extension : "");