summaryrefslogtreecommitdiff
path: root/src/itemsoundmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-06 14:49:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-06 14:49:47 +0300
commitc649cf883480071c9b93909c4ea4ee5ec98155b2 (patch)
tree71022fd2db59c643c19c78c5524ffcd038e35a7f /src/itemsoundmanager.h
parent4cab6fc78e19799f223d951d5ccc9afb303b65f2 (diff)
downloadmv-c649cf883480071c9b93909c4ea4ee5ec98155b2.tar.gz
mv-c649cf883480071c9b93909c4ea4ee5ec98155b2.tar.bz2
mv-c649cf883480071c9b93909c4ea4ee5ec98155b2.tar.xz
mv-c649cf883480071c9b93909c4ea4ee5ec98155b2.zip
Remove some duplicate code.
Diffstat (limited to 'src/itemsoundmanager.h')
-rw-r--r--src/itemsoundmanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/itemsoundmanager.h b/src/itemsoundmanager.h
index 28037ca07..0383f5615 100644
--- a/src/itemsoundmanager.h
+++ b/src/itemsoundmanager.h
@@ -27,6 +27,7 @@
class FloorItem;
class Item;
+class ItemInfo;
class ItemSoundManager final
{
@@ -41,6 +42,9 @@ class ItemSoundManager final
static void playSfx(const FloorItem *const item,
const ItemSoundEvent::Type sound);
+
+ static void playSfx(const ItemInfo &info,
+ const ItemSoundEvent::Type sound);
};
#endif // ITEMSOUNDMANAGER_H