diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-06 14:49:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-06 14:49:47 +0300 |
commit | c649cf883480071c9b93909c4ea4ee5ec98155b2 (patch) | |
tree | 71022fd2db59c643c19c78c5524ffcd038e35a7f /src/itemsoundmanager.h | |
parent | 4cab6fc78e19799f223d951d5ccc9afb303b65f2 (diff) | |
download | ManaVerse-c649cf883480071c9b93909c4ea4ee5ec98155b2.tar.gz ManaVerse-c649cf883480071c9b93909c4ea4ee5ec98155b2.tar.bz2 ManaVerse-c649cf883480071c9b93909c4ea4ee5ec98155b2.tar.xz ManaVerse-c649cf883480071c9b93909c4ea4ee5ec98155b2.zip |
Remove some duplicate code.
Diffstat (limited to 'src/itemsoundmanager.h')
-rw-r--r-- | src/itemsoundmanager.h | 4 |
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 |