From e8f7c4a06fce9e41fb23ffc42a566501a78210cb Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 19 Sep 2010 22:49:55 +0000 Subject: player can only sell cargo on bases that allow it, trademenu layout updates --- src/client/inventorylistview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client/inventorylistview.h') diff --git a/src/client/inventorylistview.h b/src/client/inventorylistview.h index 0d14072..ff10aa1 100644 --- a/src/client/inventorylistview.h +++ b/src/client/inventorylistview.h @@ -21,6 +21,10 @@ public: void set_inventory(core::Inventory *inventory, core::InfoType *infotype); + inline const core::Inventory *inventory() const { + return listview_inventory; + } + protected: virtual void draw(); -- cgit v1.2.3