aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_br.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2009-10-16 04:19:16 +0000
committerNicola Mettifogo2009-10-16 04:19:16 +0000
commitc0a4881f5a3efd14a202447d17227a7fcc62c336 (patch)
tree98b1c7bbda8053807a13241a0a74e27b09a8d87e /engines/parallaction/exec_br.cpp
parent7e154726ff2bf8aa5361682ae2b4d24192e50b67 (diff)
downloadscummvm-rg350-c0a4881f5a3efd14a202447d17227a7fcc62c336.tar.gz
scummvm-rg350-c0a4881f5a3efd14a202447d17227a7fcc62c336.tar.bz2
scummvm-rg350-c0a4881f5a3efd14a202447d17227a7fcc62c336.zip
Start the correct music inside the Hot Sushi. This fixes the part of ticket 2879793 that is actually a bug.
svn-id: r45147
Diffstat (limited to 'engines/parallaction/exec_br.cpp')
-rw-r--r--engines/parallaction/exec_br.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp
index e351a5ab2f..a1e43dc077 100644
--- a/engines/parallaction/exec_br.cpp
+++ b/engines/parallaction/exec_br.cpp
@@ -279,11 +279,11 @@ DECLARE_COMMAND_OPCODE(give) {
/* NOTE: the following code is disabled until I deal with _inventory and
* _charInventories not being public
*/
-/* int item = ctxt._cmd->_object;
+ int item = ctxt._cmd->_object;
int recipient = ctxt._cmd->_characterId;
- _vm->_charInventories[recipient]->addItem(item);
- _vm->_inventory->removeItem(item);
-*/
+// _vm->_charInventories[recipient]->addItem(item);
+ _vm->dropItem(item);
+
}