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:
fracturehill authored and Eugene Sandulenko committed 2021-03-24 17:20:46 +01:00
1 parent 3aaf2a9bea
commit ebe99bc271
1 file changed
+1
+1
View File
@@ -86,6 +86,7 @@ void Scene::popScene() {
}
void Scene::addItemToInventory(uint16 id) {
_flags.items[id] = kTrue;
if (_flags.heldItem == id) {
setHeldItem(-1);
}