mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
NANCY: Fix adding items to inventory
Fixed items not being marked as owned even when they're in the inventory.
This commit is contained in:
1 parent
3aaf2a9bea
commit
ebe99bc271
1 file changed
+1
@@ -86,6 +86,7 @@ void Scene::popScene() {
|
||||
}
|
||||
|
||||
void Scene::addItemToInventory(uint16 id) {
|
||||
_flags.items[id] = kTrue;
|
||||
if (_flags.heldItem == id) {
|
||||
setHeldItem(-1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user