summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_b_oh2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/actor/d_a_b_oh2.cpp')
-rw-r--r--src/d/actor/d_a_b_oh2.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/d/actor/d_a_b_oh2.cpp b/src/d/actor/d_a_b_oh2.cpp
index 0945fc94cb..ec2ab9238f 100644
--- a/src/d/actor/d_a_b_oh2.cpp
+++ b/src/d/actor/d_a_b_oh2.cpp
@@ -161,8 +161,7 @@ static void action(b_oh2_class* i_this) {
mDoMtx_stack_c::XrotM(i_this->shape_angle.x);
i_this->mpMorf->getModel()->setBaseTRMtx(mDoMtx_stack_c::get());
- int roomNo = fopAcM_GetRoomNo(i_this);
- i_this->mpMorf->play(0, dComIfGp_getReverb(roomNo));
+ i_this->mpMorf->play(0, dComIfGp_getReverb(fopAcM_GetRoomNo(i_this)));
if (boss->speedF <= 1.0f) {
i_this->mpBrk->setFrame(0.0f);
@@ -326,4 +325,4 @@ extern actor_process_profile_definition g_profile_B_OH2 = {
0x44000,
fopAc_ENEMY_e,
fopAc_CULLBOX_CUSTOM_e,
-}; \ No newline at end of file
+};