mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 17:49:21 +02:00
isOnBotton draw changes, fixed items like mountains
This commit is contained in:
parent
d33d0c2ee8
commit
b9b9e47bba
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user