diff options
Diffstat (limited to 'engines/m4/mads_views.h')
-rw-r--r-- | engines/m4/mads_views.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/m4/mads_views.h b/engines/m4/mads_views.h index fa6247d4a9..8a936c1759 100644 --- a/engines/m4/mads_views.h +++ b/engines/m4/mads_views.h @@ -77,6 +77,7 @@ public: virtual void setSelectedObject(int objectNumber); virtual void addObjectToInventory(int objectNumber); int getSelectedObject() { return _selectedObject; } + int getInventoryObject(int objectIndex) { return _inventoryList[objectIndex]; } void onRefresh(RectList *rects, M4Surface *destSurface); bool onEvent(M4EventType eventType, int32 param1, int x, int y, bool &captureEvents); |