Skip to content

Commit

Permalink
Fix BSSoundHandle::SetOutputModel args
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 committed Mar 21, 2024
1 parent 0a1e692 commit 26015a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/RE/B/BSSoundHandle.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace RE
{
class BGSSoundOutput;
class BSISoundOutputModel;
class NiAVObject;
class NiPoint3;

Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/RE/B/BSSoundHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_t> func{ RELOCATION_ID(66363, 67624) };
Expand Down

0 comments on commit 26015a0

Please sign in to comment.