From 4ff138c67bc1f687f837686a04d85e3324b48754 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Sun, 15 Sep 2024 21:27:13 -0700 Subject: [PATCH] Fix whitespace --- src/ObjLoading/Game/T6/AssetLoaders/AssetLoaderSoundBank.cpp | 4 ++-- src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ObjLoading/Game/T6/AssetLoaders/AssetLoaderSoundBank.cpp b/src/ObjLoading/Game/T6/AssetLoaders/AssetLoaderSoundBank.cpp index c269a450..25d47c74 100644 --- a/src/ObjLoading/Game/T6/AssetLoaders/AssetLoaderSoundBank.cpp +++ b/src/ObjLoading/Game/T6/AssetLoaders/AssetLoaderSoundBank.cpp @@ -75,7 +75,7 @@ bool AssetLoaderSoundBank::CanLoadFromRaw() const size_t GetValueIndex(const std::string& value, const std::string* lookupTable, size_t len) { if (value.empty()) - return 0; + return 0; 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->duck = Common::SND_HashName(row.GetValue("duck").data()); - + alias->volMin = row.GetValueIntvolMin)>("vol_min"); alias->volMax = row.GetValueIntvolMax)>("vol_max"); alias->distMin = row.GetValueIntdistMin)>("dist_min"); diff --git a/src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp b/src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp index a0da2901..87d9c818 100644 --- a/src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp +++ b/src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp @@ -227,7 +227,7 @@ class AssetDumperSndBank::Internal { // name stream.WriteColumn(alias->name); - + // file stream.WriteColumn(alias->assetFileName ? alias->assetFileName + extension : "");