From b9b9e47bbae15c94af2140c1742e72be9c6a55e9 Mon Sep 17 00:00:00 2001 From: Henrique Santiago Date: Mon, 14 May 2012 01:33:27 -0300 Subject: [PATCH] isOnBotton draw changes, fixed items like mountains --- 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 bfeeefa3..d5b297b0 100644 --- a/src/otclient/core/item.cpp +++ b/src/otclient/core/item.cpp @@ -68,7 +68,7 @@ void Item::draw(const Point& dest, float scaleFactor, bool animate) // determine x,y,z patterns int xPattern = 0, yPattern = 0, zPattern = 0; - if(isGround()) { + if(isGround() || isOnBottom()) { xPattern = m_position.x % getNumPatternsX(); yPattern = m_position.y % getNumPatternsY(); zPattern = m_position.z % getNumPatternsZ();