summaryrefslogtreecommitdiff
path: root/src/d/d_cs_game.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-03-14 03:09:58 +0100
committerGitHub <noreply@github.com>2025-03-13 22:09:58 -0400
commitd60d45eb6e2596ec1eb17dfa8b5b87174fc3d7fa (patch)
treed93a9987bd158fdc9234adb64edf6ef41e45674d /src/d/d_cs_game.cpp
parent455642a81a1a774669fa08d8919a3599d8386b8a (diff)
d_lyt_bird_gauge OK (#131)
Diffstat (limited to 'src/d/d_cs_game.cpp')
-rw-r--r--src/d/d_cs_game.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/d/d_cs_game.cpp b/src/d/d_cs_game.cpp
index cff774f0..21ebf775 100644
--- a/src/d/d_cs_game.cpp
+++ b/src/d/d_cs_game.cpp
@@ -5,6 +5,7 @@
#include "d/lyt/d_structd.h"
#include "f/f_base.h"
#include "toBeSorted/arc_managers/layout_arc_manager.h"
+#include "toBeSorted/small_sound_mgr.h"
SPECIAL_BASE_PROFILE(C_GAME, dCsGame_c, fProfile::C_GAME, 0x2BF, 0x06F9);
@@ -401,14 +402,12 @@ void dCsGame_c::lytItemCursor_c::lytBowCsr_c::initializeState_Charge() {
mAnm[MAIN_ANIM_ARROW_EFFECT].setAnimEnable(true);
mAnm[MAIN_ANIM_ARROW_EFFECT].setFrame(0.0f);
}
-extern "C" void *SOUND_EFFECT_SOUND_MGR;
-extern "C" void SmallSoundManager__playSound(void *, s32);
void dCsGame_c::lytItemCursor_c::lytBowCsr_c::executeState_Charge() {
if (field_0x54 >= 1.0f) {
if (!mAnm[MAIN_ANIM_ARROW_PEAK].isFlag2()) {
mAnm[MAIN_ANIM_ARROW_PEAK].setAnimEnable(true);
mAnm[MAIN_ANIM_ARROW_PEAK].setFrame(0.0f);
- SmallSoundManager__playSound(SOUND_EFFECT_SOUND_MGR, 0x148D);
+ SmallSoundManager::GetInstance()->playSound(SE_S_BW_ALIGN_SIGHT);
}
mAnm[MAIN_ANIM_ARROW_KEEP].setAnimEnable(false);
} else {