From 8ca0500712d4967784e2de47746760c7235e042c Mon Sep 17 00:00:00 2001 From: Henrique Date: Tue, 30 Aug 2011 21:22:02 -0300 Subject: [PATCH] stackable items fix --- src/otclient/core/item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/otclient/core/item.cpp b/src/otclient/core/item.cpp index 85b33ab9..9bf9c48d 100644 --- a/src/otclient/core/item.cpp +++ b/src/otclient/core/item.cpp @@ -83,7 +83,7 @@ void Item::onCountChange(int) { const ThingAttributes& attributes = g_dat.getItemAttributes(m_id); - if(attributes.stackable) { + if(attributes.stackable && attributes.xdiv == 4 && attributes.ydiv == 2) { if(m_count < 5) { m_xDiv = m_count-1; m_yDiv = 0;