diff options
Diffstat (limited to '')
-rw-r--r-- | source/Item.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/Item.cpp b/source/Item.cpp index b96500a30..15f011c13 100644 --- a/source/Item.cpp +++ b/source/Item.cpp @@ -8,6 +8,17 @@ +cItem cItem::CopyOne(void) const +{ + cItem res(*this); + res.m_ItemCount = 1; + return res; +} + + + + + bool cItem::IsStackableWith(const cItem & a_OtherStack) { if (a_OtherStack.m_ItemType != m_ItemType) |