aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/party.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/party.cpp')
-rw-r--r--engines/xeen/party.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp
index 35a8f00fbe..3315cb2816 100644
--- a/engines/xeen/party.cpp
+++ b/engines/xeen/party.cpp
@@ -560,7 +560,7 @@ void Party::giveTreasure() {
Interface &intf = *_vm->_interface;
Screen &screen = *_vm->_screen;
Scripts &scripts = *_vm->_scripts;
- SoundManager &sound = *_vm->_sound;
+ Sound &sound = *_vm->_sound;
Window &w = screen._windows[10];
if (!_treasure._gold && !_treasure._gems)
@@ -694,7 +694,7 @@ bool Party::arePacksFull() const {
void Party::giveTreasureToCharacter(Character &c, ItemCategory category, int itemIndex) {
EventsManager &events = *_vm->_events;
Screen &screen = *_vm->_screen;
- SoundManager &sound = *_vm->_sound;
+ Sound &sound = *_vm->_sound;
Window &w = screen._windows[10];
XeenItem &treasureItem = _treasure._categories[category][itemIndex];
sound.playFX(20);