aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/inventory.h')
-rw-r--r--engines/fullpipe/inventory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/fullpipe/inventory.h b/engines/fullpipe/inventory.h
index a61df385a5..c449dfc718 100644
--- a/engines/fullpipe/inventory.h
+++ b/engines/fullpipe/inventory.h
@@ -100,6 +100,7 @@ class CInventory2 : public CInventory {
void rebuildItemRects();
Scene *getScene() { return _scene; }
+ int getSelectedItemId() { return _selectedId < 0 ? 0 : _selectedId; }
void draw();
};