isOnBotton draw changes, fixed items like mountains

master
Henrique Santiago 12 years ago
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…
Cancel
Save