From 1b653c7c1a3e6c5d7b2739f881ea6b11ca46cd3b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Oct 2015 00:11:35 +0300 Subject: Allow add item by drag&drop into npc inventory to exact position. --- src/inventory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index e20010c23..1d1f49ebe 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -174,7 +174,8 @@ class Inventory final int findIndexByTag(const int tag) const; - void addVirtualItem(const Item *const item); + void addVirtualItem(const Item *const item, + int index); protected: typedef std::list InventoryListenerList; -- cgit v1.2.3-70-g09d2