summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-01 22:02:25 +0200
committermadmaxoft <github@xoft.cz>2014-05-01 22:02:25 +0200
commitb0056cdcf8a36efbed4b97414ebf5741b56a5895 (patch)
treeb85a13bb52fa849d64cc3603613bcfcbf69166e9
parentFixed MSVC2013 compilation. (diff)
downloadcuberite-b0056cdcf8a36efbed4b97414ebf5741b56a5895.tar
cuberite-b0056cdcf8a36efbed4b97414ebf5741b56a5895.tar.gz
cuberite-b0056cdcf8a36efbed4b97414ebf5741b56a5895.tar.bz2
cuberite-b0056cdcf8a36efbed4b97414ebf5741b56a5895.tar.lz
cuberite-b0056cdcf8a36efbed4b97414ebf5741b56a5895.tar.xz
cuberite-b0056cdcf8a36efbed4b97414ebf5741b56a5895.tar.zst
cuberite-b0056cdcf8a36efbed4b97414ebf5741b56a5895.zip
-rw-r--r--src/Item.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Item.h b/src/Item.h
index 641c681db..8eb0a1f4e 100644
--- a/src/Item.h
+++ b/src/Item.h
@@ -73,6 +73,10 @@ public:
}
+ // The constructor is disabled in code, because the compiler generates it anyway,
+ // but it needs to stay because ToLua needs to generate the binding for it
+ #if 0
+
/** Creates an exact copy of the item */
cItem(const cItem & a_CopyFrom) :
m_ItemType (a_CopyFrom.m_ItemType),
@@ -85,6 +89,8 @@ public:
{
}
+ #endif
+
void Empty(void)
{