diff options
-rw-r--r-- | engines/pink/objects/actors/lead_actor.cpp | 12 | ||||
-rw-r--r-- | engines/pink/objects/inventory.cpp | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/engines/pink/objects/actors/lead_actor.cpp b/engines/pink/objects/actors/lead_actor.cpp index 9279871f30..90de9a1d8f 100644 --- a/engines/pink/objects/actors/lead_actor.cpp +++ b/engines/pink/objects/actors/lead_actor.cpp @@ -146,7 +146,17 @@ void LeadActor::start(bool isHandler) { _state = kInDialog1; _nextState = kReady; } - forceUpdateCursor(); + + switch (_state) { + case kInventory: + _page->getModule()->getInventoryMgr()->start(0); + _page->pause(); + break; + case kPDA: + + default: + forceUpdateCursor(); + } } void LeadActor::onMouseMove(Common::Point point) { diff --git a/engines/pink/objects/inventory.cpp b/engines/pink/objects/inventory.cpp index 3ae4effd0a..1b74f4dca8 100644 --- a/engines/pink/objects/inventory.cpp +++ b/engines/pink/objects/inventory.cpp @@ -221,7 +221,7 @@ void InventoryMgr::saveState(Archive &archive) { } if (_item) - archive.writeString(_item->_currentOwner); + archive.writeString(_item->getName()); else archive.writeString(Common::String()); } |