From 2ac20982e0772b94b21d95b53519bd2164632d98 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 24 Jul 2012 20:57:17 +0300 Subject: Detached inventories --- src/guiFormSpecMenu.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/guiFormSpecMenu.h') diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index 8e9557566..f0a5988e9 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -86,11 +86,12 @@ class GUIFormSpecMenu : public GUIModalMenu } ListDrawSpec(const InventoryLocation &a_inventoryloc, const std::string &a_listname, - v2s32 a_pos, v2s32 a_geom): + v2s32 a_pos, v2s32 a_geom, s32 a_start_item_i): inventoryloc(a_inventoryloc), listname(a_listname), pos(a_pos), - geom(a_geom) + geom(a_geom), + start_item_i(a_start_item_i) { } @@ -98,6 +99,7 @@ class GUIFormSpecMenu : public GUIModalMenu std::string listname; v2s32 pos; v2s32 geom; + s32 start_item_i; }; struct ImageDrawSpec -- cgit v1.2.3