From 4f17362aeb80e5339c58a5d3b0fbaeb88d9e701c Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 13 Feb 2012 21:47:03 +0000 Subject: Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cItem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cItem.h') diff --git a/source/cItem.h b/source/cItem.h index c1b62495e..ba88a1940 100644 --- a/source/cItem.h +++ b/source/cItem.h @@ -24,11 +24,11 @@ public: m_ItemCount = 0; m_ItemHealth = 0; } //tolua_export - bool IsEmpty() //tolua_export + bool IsEmpty(void) const //tolua_export { //tolua_export return (m_ItemID <= 0 || m_ItemCount <= 0); } //tolua_export - bool Equals( cItem & a_Item ) //tolua_export + bool Equals( cItem & a_Item ) const //tolua_export { //tolua_export return ( (m_ItemID == a_Item.m_ItemID) && (m_ItemHealth == a_Item.m_ItemHealth) ); } //tolua_export -- cgit v1.2.3