From 08052fdf746ae2e697023e91e3f955ca7d2d0eae Mon Sep 17 00:00:00 2001 From: Andrew James Date: Sun, 17 Apr 2022 18:04:47 +1000 Subject: [PATCH] Play gold sound effect when depositing in stash This adds a bit of audible feedback to help the player know that the action had an impact (along with the cursor changing and the count increasing). --- Source/qol/stash.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/qol/stash.cpp b/Source/qol/stash.cpp index 7cfc5b23e..feaeecab6 100644 --- a/Source/qol/stash.cpp +++ b/Source/qol/stash.cpp @@ -88,6 +88,7 @@ void CheckStashPaste(Point cursorPosition) if (player.HoldItem._itype == ItemType::Gold) { Stash.gold += player.HoldItem._ivalue; + PlaySFX(IS_GOLD); Stash.dirty = true; if (!IsHardwareCursor()) { // To make software cursors behave like hardware cursors we need to adjust the hand cursor position manually