summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-06-07 16:38:16 +0200
committerrobojumper <robojumper@gmail.com>2025-06-07 16:38:16 +0200
commite78895aa3597cd7bdb77534c07a8cac63fbbba57 (patch)
tree54b59418c2bb39df70a158938bbf9f7e19e937f8 /src
parent5b896bb471765ced514a8f9f188775749cb974d5 (diff)
rename
Diffstat (limited to 'src')
-rw-r--r--src/d/a/d_a_base.cpp6
-rw-r--r--src/toBeSorted/actor_info.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/d/a/d_a_base.cpp b/src/d/a/d_a_base.cpp
index 3d89800d..381245d2 100644
--- a/src/d/a/d_a_base.cpp
+++ b/src/d/a/d_a_base.cpp
@@ -115,13 +115,13 @@ SoundSource *dAcBase_c::createSoundSource() {
return nullptr;
}
- s32 soundSourceCategory = mpActorInfo->soundSourceCategory;
- if (soundSourceCategory == -1) {
+ s32 soundSourceType = mpActorInfo->soundSourceType;
+ if (soundSourceType == -1) {
return nullptr;
}
const char *actorName = getActorName(mpActorInfo);
- return soundForActorInitRelated_803889c0(soundSourceCategory, this, actorName, subtype);
+ return soundForActorInitRelated_803889c0(soundSourceType, this, actorName, subtype);
}
int dAcBase_c::initAllocatorWork1Heap(int size, char *name, int align) {
diff --git a/src/toBeSorted/actor_info.cpp b/src/toBeSorted/actor_info.cpp
index e3228135..3d45f9d6 100644
--- a/src/toBeSorted/actor_info.cpp
+++ b/src/toBeSorted/actor_info.cpp
@@ -863,10 +863,10 @@ const ActorInfo *getActorInfoByProfileAndSubtype(u32 profileId, u32 subtype) {
return nullptr;
}
-s32 getSoundSourceCategoryForName(const char *name) {
+s32 getSoundSourceTypeForName(const char *name) {
const ActorInfo *info = getActorInfoByName(name);
if (info != nullptr) {
- return info->soundSourceCategory;
+ return info->soundSourceType;
}
return -1;
}