From d641fefc1387886b7cd357b121feab4e93c3d660 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Tue, 23 May 2023 23:43:00 +0300 Subject: [PATCH] Fix open door sound See alexbatalov/fallout1-ce#71 --- src/proto_instance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_instance.cc b/src/proto_instance.cc index 8dd9483..0c57d8a 100644 --- a/src/proto_instance.cc +++ b/src/proto_instance.cc @@ -1766,7 +1766,7 @@ int _obj_use_door(Object* a1, Object* a2, int a3) animationRegisterCallback(a2, a2, (AnimationCallback*)_set_door_state_open, -1); } - const char* sfx = sfxBuildOpenName(a2, SCENERY_SOUND_EFFECT_CLOSED); + const char* sfx = sfxBuildOpenName(a2, SCENERY_SOUND_EFFECT_OPEN); animationRegisterPlaySoundEffect(a2, sfx, -1); animationRegisterAnimate(a2, ANIM_STAND, 0);