1
0

Added cItem::GetMaxStackSize()

This commit is contained in:
madmaxoft
2013-11-10 18:41:26 +01:00
parent fb3a175b28
commit fe07012952
4 changed files with 47 additions and 2 deletions

View File

@@ -122,6 +122,15 @@ bool cItem::IsFullStack(void) const
char cItem::GetMaxStackSize(void) const
{
return ItemHandler(m_ItemType)->GetMaxStackSize();
}
/// Returns the cItemHandler responsible for this item type
cItemHandler * cItem::GetHandler(void) const
{