parent
f8d4ef60d9
commit
f1fda8050a
|
@ -92,7 +92,7 @@ void Item::draw(const Point& dest, float scaleFactor, bool animate)
|
|||
if(tile) {
|
||||
if(tile->mustHookSouth())
|
||||
xPattern = getNumPatternsX() >= 2 ? 1 : 0;
|
||||
else if(tile->mustHookSouth())
|
||||
else if(tile->mustHookEast())
|
||||
xPattern = getNumPatternsX() >= 3 ? 2 : 0;
|
||||
}
|
||||
} else if(isFluid() || isFluidContainer()) {
|
||||
|
|
|
@ -338,6 +338,12 @@ ThingPtr Tile::getTopMultiUseThing()
|
|||
}
|
||||
}
|
||||
|
||||
for(uint i = 0; i < m_things.size(); ++i) {
|
||||
ThingPtr thing = m_things[i];
|
||||
if(!thing->isGround() && !thing->isGroundBorder() && !thing->isOnTop())
|
||||
return thing;
|
||||
}
|
||||
|
||||
return m_things[0];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue