diff options
author | Bendegúz Nagy | 2016-08-16 19:15:35 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 0eb61d0a7d1450ca79adfe8ef4bd3874de51ce67 (patch) | |
tree | 9aff26bfd1a12daa4efa4148f088fe5989d2ce9c /engines/dm/inventory.cpp | |
parent | 7cc41a1929c1609cb952517a60bd222cc62d690d (diff) | |
download | scummvm-rg350-0eb61d0a7d1450ca79adfe8ef4bd3874de51ce67.tar.gz scummvm-rg350-0eb61d0a7d1450ca79adfe8ef4bd3874de51ce67.tar.bz2 scummvm-rg350-0eb61d0a7d1450ca79adfe8ef4bd3874de51ce67.zip |
DM: Pull sound handling into a separate class
Diffstat (limited to 'engines/dm/inventory.cpp')
-rw-r--r-- | engines/dm/inventory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/dm/inventory.cpp b/engines/dm/inventory.cpp index bbc451daee..638fba2bf0 100644 --- a/engines/dm/inventory.cpp +++ b/engines/dm/inventory.cpp @@ -34,6 +34,7 @@ #include "objectman.h" #include "timeline.h" #include "projexpl.h" +#include "sounds.h" namespace DM { @@ -1038,7 +1039,7 @@ void InventoryMan::f349_processCommand70_clickOnMouth() { _vm->_championMan->_gK71_champions[_vm->_championMan->_g411_leaderIndex]._load += _vm->_dungeonMan->f140_getObjectWeight(L1078_T_Thing) - L1089_ui_Weight; setFlag(_vm->_championMan->_gK71_champions[_vm->_championMan->_g411_leaderIndex]._attributes, k0x0200_ChampionAttributeLoad); } - _vm->f064_SOUND_RequestPlay_CPSD(k08_soundSWALLOW, _vm->_dungeonMan->_g306_partyMapX, _vm->_dungeonMan->_g307_partyMapY, k0_soundModePlayImmediately); + _vm->_sound->f064_SOUND_RequestPlay_CPSD(k08_soundSWALLOW, _vm->_dungeonMan->_g306_partyMapX, _vm->_dungeonMan->_g307_partyMapY, k0_soundModePlayImmediately); setFlag(L1083_ps_Champion->_attributes, k0x0100_ChampionAttributeStatistics); if (_g424_panelContent == k0_PanelContentFoodWaterPoisoned) { setFlag(L1083_ps_Champion->_attributes, k0x0800_ChampionAttributePanel); |