diff options
| author | Caroline Madsen <69010899+randomsalience@users.noreply.github.com> | 2024-10-31 20:36:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-31 17:36:11 -0700 |
| commit | 09423b6fa00029d0325cbade59c78ae42f1014de (patch) | |
| tree | 15c444d2b60c559bbfd15385a4cfa83b8fe33521 /src/d/actor/d_a_obj_web1.cpp | |
| parent | 30777a85b5357a60f0d57f9127ff4e04d3b2bdd5 (diff) | |
more misc. cleanup (#2232)
Diffstat (limited to 'src/d/actor/d_a_obj_web1.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_web1.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/d/actor/d_a_obj_web1.cpp b/src/d/actor/d_a_obj_web1.cpp index 753cd96106..916e2e43fb 100644 --- a/src/d/actor/d_a_obj_web1.cpp +++ b/src/d/actor/d_a_obj_web1.cpp @@ -136,8 +136,7 @@ static int daObj_Web1_Execute(obj_web1_class* i_this) { i_this->mHitTimer--; } - int roomNo = fopAcM_GetRoomNo(i_this); - i_this->mZ2SoundObj.framework(0, dComIfGp_getReverb(roomNo)); + i_this->mZ2SoundObj.framework(0, dComIfGp_getReverb(fopAcM_GetRoomNo(i_this))); if (i_this->mDeleteTimer != 0) { if (i_this->mDeleteTimer == 1) { @@ -343,4 +342,4 @@ extern actor_process_profile_definition g_profile_OBJ_WEB1 = { 0x40100, fopAc_ACTOR_e, fopAc_CULLBOX_CUSTOM_e, -};
\ No newline at end of file +}; |
