aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actors
diff options
context:
space:
mode:
authorwhiterandrek2018-05-31 23:05:45 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit11b5865b48996f3ff9a16c719059f25b7119b173 (patch)
tree111ef8f896920624e14983e24eeec5102069f4cd /engines/pink/objects/actors
parente7a7d6960d605b668da0332ee75605d52d0c7543 (diff)
downloadscummvm-rg350-11b5865b48996f3ff9a16c719059f25b7119b173.tar.gz
scummvm-rg350-11b5865b48996f3ff9a16c719059f25b7119b173.tar.bz2
scummvm-rg350-11b5865b48996f3ff9a16c719059f25b7119b173.zip
PINK: fix loading inventory save
Diffstat (limited to 'engines/pink/objects/actors')
-rw-r--r--engines/pink/objects/actors/lead_actor.cpp12
1 files changed, 11 insertions, 1 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) {