diff options
author | Nicola Mettifogo | 2009-09-30 07:47:58 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-09-30 07:47:58 +0000 |
commit | eb5beef6a1f5a76735b35fb17796420ba2e6d080 (patch) | |
tree | ec471a2627565c4772b9b4220f60ed5febf7d90f /engines/parallaction/exec_br.cpp | |
parent | e660f31ed896e487dba5783619840cc065cc1bc5 (diff) | |
download | scummvm-rg350-eb5beef6a1f5a76735b35fb17796420ba2e6d080.tar.gz scummvm-rg350-eb5beef6a1f5a76735b35fb17796420ba2e6d080.tar.bz2 scummvm-rg350-eb5beef6a1f5a76735b35fb17796420ba2e6d080.zip |
* Added secondary inventories for BRA.
* Added comments where code must be added/updated to support multiple inventories.
svn-id: r44476
Diffstat (limited to 'engines/parallaction/exec_br.cpp')
-rw-r--r-- | engines/parallaction/exec_br.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp index 9289bac78d..e351a5ab2f 100644 --- a/engines/parallaction/exec_br.cpp +++ b/engines/parallaction/exec_br.cpp @@ -274,7 +274,16 @@ DECLARE_COMMAND_OPCODE(swap) { DECLARE_COMMAND_OPCODE(give) { - warning("Parallaction_br::cmdOp_give not yet implemented"); + warning("Parallaction_br::cmdOp_give not yet implemented"); + + /* NOTE: the following code is disabled until I deal with _inventory and + * _charInventories not being public + */ +/* int item = ctxt._cmd->_object; + int recipient = ctxt._cmd->_characterId; + _vm->_charInventories[recipient]->addItem(item); + _vm->_inventory->removeItem(item); +*/ } |