From ff88731b6080120de62f71f505abb24d62826d81 Mon Sep 17 00:00:00 2001 From: powerof3 <32599957+powerof3@users.noreply.github.com> Date: Fri, 22 Mar 2024 04:16:25 +0530 Subject: [PATCH] Fix `BSSoundHandle::SetOutputModel` args --- include/RE/B/BSSoundHandle.h | 4 ++-- src/RE/B/BSSoundHandle.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/RE/B/BSSoundHandle.h b/include/RE/B/BSSoundHandle.h index c7d12e40a..f7927de05 100644 --- a/include/RE/B/BSSoundHandle.h +++ b/include/RE/B/BSSoundHandle.h @@ -2,7 +2,7 @@ namespace RE { - class BGSSoundOutput; + class BSISoundOutputModel; class NiAVObject; class NiPoint3; @@ -41,7 +41,7 @@ namespace RE bool SetFrequency(float a_frequency); bool SetPosition(NiPoint3 a_pos); void SetObjectToFollow(NiAVObject* a_node); - void SetOutputModel(const BGSSoundOutput* a_outputModel); + void SetOutputModel(const BSISoundOutputModel* a_outputModel); bool SetVolume(float a_volume); bool Stop(); bool Play(); diff --git a/src/RE/B/BSSoundHandle.cpp b/src/RE/B/BSSoundHandle.cpp index 65df5d268..5c59bec7d 100644 --- a/src/RE/B/BSSoundHandle.cpp +++ b/src/RE/B/BSSoundHandle.cpp @@ -68,7 +68,7 @@ namespace RE return func(this, a_node); } - void BSSoundHandle::SetOutputModel(const BGSSoundOutput* a_outputModel) + void BSSoundHandle::SetOutputModel(const BSISoundOutputModel* a_outputModel) { using func_t = decltype(&BSSoundHandle::SetOutputModel); REL::Relocation func{ RELOCATION_ID(66363, 67624) };