This commit is contained in:
robojumper
2025-06-07 16:38:16 +02:00
parent 5b896bb471
commit e78895aa35
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -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) {
+2 -2
View File
@@ -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;
}