1
0
Fork 0

Pass cItem by reference.

Fixes CID 66445.
This commit is contained in:
madmaxoft 2014-07-15 08:48:12 +02:00
parent 7195c7dfe2
commit e2a1118f88
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public:
cItem GetItem(void) const { return m_Item; }
/** Set the item in the flower pot */
void SetItem(const cItem a_Item) { m_Item = a_Item; }
void SetItem(const cItem & a_Item) { m_Item = a_Item; }
// tolua_end