aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-02 03:38:16 +0530
committerEugene Sandulenko2019-09-03 17:17:06 +0200
commit0aacd2d29adfe63f70399592e7f44f3654b53577 (patch)
treea14590f2ac213853412e2610623d0255db1858ba
parente3020ee4d5f038d0826d406609c263493934d5e4 (diff)
downloadscummvm-rg350-0aacd2d29adfe63f70399592e7f44f3654b53577.tar.gz
scummvm-rg350-0aacd2d29adfe63f70399592e7f44f3654b53577.tar.bz2
scummvm-rg350-0aacd2d29adfe63f70399592e7f44f3654b53577.zip
HDB: Add inventoryActive() function
-rw-r--r--engines/hdb/window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/window.h b/engines/hdb/window.h
index 08f957c72b..e03e26f147 100644
--- a/engines/hdb/window.h
+++ b/engines/hdb/window.h
@@ -185,6 +185,9 @@ public:
return _invWinInfo.selection;
}
void checkInvSelect(int x, int y);
+ bool inventoryActive() {
+ return _invWinInfo.active;
+ }
// Deliveries Functions
void openDeliveries(bool animate);