From db43ad3b72fe207e6cc03a1fd341ea598d123319 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Oct 2013 19:19:53 +0300 Subject: add pickup and drop sound effects. Works like equip/unequip effects. --- src/itemsoundmanager.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/itemsoundmanager.h') diff --git a/src/itemsoundmanager.h b/src/itemsoundmanager.h index a22daf94b..77ef221c7 100644 --- a/src/itemsoundmanager.h +++ b/src/itemsoundmanager.h @@ -25,6 +25,7 @@ #include "localconsts.h" +class FloorItem; class Item; class ItemSoundManager final @@ -34,6 +35,9 @@ class ItemSoundManager final static void playSfx(const Item *const item, const ItemSoundEvent sound); + + static void playSfx(const FloorItem *const item, + const ItemSoundEvent sound); }; #endif // ITEMSOUNDMANAGER_H -- cgit v1.2.3-70-g09d2