Skip to content

Commit

Permalink
When the character is healed, a sound will play. Fixed #42.
Browse files Browse the repository at this point in the history
  • Loading branch information
devapromix committed Jan 9, 2025
1 parent 2c7bdb4 commit 7fe3d62
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file added resources/sounds/heal.wav
Binary file not shown.
1 change: 1 addition & 0 deletions sources/Scenes/Elinor.Scene.Temple.pas
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ procedure TSceneTemple.HealCreature;
begin
Game.Gold.Modify(-ConfirmGold);
ConfirmParty.Heal(ConfirmPartyPosition);
Game.MediaPlayer.PlaySound(mmHeal);
end;

procedure TSceneTemple.MouseDown(AButton: TMouseButton; Shift: TShiftState;
Expand Down

0 comments on commit 7fe3d62

Please sign in to comment.