aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/inventory.cpp
diff options
context:
space:
mode:
authorStrangerke2016-09-12 22:36:17 +0200
committerStrangerke2016-09-12 22:37:54 +0200
commitedf6e4f2d97794adf2af246c5577d46b1055472d (patch)
treefd302da6c21dc8a52cc98717944642287e122d39 /engines/dm/inventory.cpp
parent4e28542029792a495a4420e5feda6030c67365da (diff)
downloadscummvm-rg350-edf6e4f2d97794adf2af246c5577d46b1055472d.tar.gz
scummvm-rg350-edf6e4f2d97794adf2af246c5577d46b1055472d.tar.bz2
scummvm-rg350-edf6e4f2d97794adf2af246c5577d46b1055472d.zip
DM: Enforce the use of SoundMode
Diffstat (limited to 'engines/dm/inventory.cpp')
-rw-r--r--engines/dm/inventory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/dm/inventory.cpp b/engines/dm/inventory.cpp
index ca4734b56e..31d3436b1b 100644
--- a/engines/dm/inventory.cpp
+++ b/engines/dm/inventory.cpp
@@ -31,6 +31,7 @@
#include "dm/inventory.h"
#include "dm/dungeonman.h"
#include "dm/eventman.h"
+#include "dm/group.h"
#include "dm/menus.h"
#include "dm/gfx.h"
#include "dm/text.h"
@@ -1017,7 +1018,7 @@ void InventoryMan::clickOnMouth() {
_vm->_championMan->_champions[_vm->_championMan->_leaderIndex]._load += _vm->_dungeonMan->getObjectWeight(handThing) - handThingWeight;
setFlag(_vm->_championMan->_champions[_vm->_championMan->_leaderIndex]._attributes, kDMAttributeLoad);
}
- _vm->_sound->requestPlay(k08_soundSWALLOW, _vm->_dungeonMan->_partyMapX, _vm->_dungeonMan->_partyMapY, k0_soundModePlayImmediately);
+ _vm->_sound->requestPlay(k08_soundSWALLOW, _vm->_dungeonMan->_partyMapX, _vm->_dungeonMan->_partyMapY, kDMSoundModePlayImmediately);
setFlag(curChampion->_attributes, kDMAttributeStatistics);
if (_panelContent == k0_PanelContentFoodWaterPoisoned)