Skip to content

Commit

Permalink
Fix open door sound
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbatalov committed May 23, 2023
1 parent 666e5cf commit d641fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proto_instance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d641fef

Please sign in to comment.