summaryrefslogtreecommitdiffstats
path: root/source/Item.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Item.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Item.h b/source/Item.h
index b80eb132b..570182bae 100644
--- a/source/Item.h
+++ b/source/Item.h
@@ -99,8 +99,10 @@ class cItems // tolua_export
{ // tolua_export
public:
// tolua_begin
+
/// Need a Lua-accessible constructor
cItems(void) {}
+
cItem & Get (int a_Idx) {return at(a_Idx); }
void Set (int a_Idx, const cItem & a_Item) {at(a_Idx) = a_Item; }
void Add (const cItem & a_Item) {push_back(a_Item); }