Pass cItem by reference.
Fixes CID 66445.
This commit is contained in:
parent
7195c7dfe2
commit
e2a1118f88
@ -53,7 +53,7 @@ public:
|
|||||||
cItem GetItem(void) const { return m_Item; }
|
cItem GetItem(void) const { return m_Item; }
|
||||||
|
|
||||||
/** Set the item in the flower pot */
|
/** 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
|
// tolua_end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user