aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/objects/inventory.cpp')
-rw-r--r--engines/pink/objects/inventory.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/pink/objects/inventory.cpp b/engines/pink/objects/inventory.cpp
index 1b74f4dca8..4836880ec5 100644
--- a/engines/pink/objects/inventory.cpp
+++ b/engines/pink/objects/inventory.cpp
@@ -152,6 +152,10 @@ void InventoryMgr::onClick(Common::Point point) {
Actor *actor = _lead->getPage()->getGame()->getDirector()->getActorByPoint(point);
if (actor == _itemActor || actor == _window) {
+ if (actor->getAction()->getName() == "WBook") {
+ _lead->loadPDA("TOC");
+ return;
+ }
_isClickedOnItem = true;
close();
} else if (actor == _leftArrow) {