From d1b26781d39a89933a5043a91d927a976f522da8 Mon Sep 17 00:00:00 2001 From: Nailson Date: Mon, 11 Apr 2016 09:42:37 -0300 Subject: [PATCH] Fix 'getTopMultiUseThing' returning border items. --- src/client/tile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/tile.cpp b/src/client/tile.cpp index bbc7d110..0ba698eb 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -485,7 +485,7 @@ ThingPtr Tile::getTopMultiUseThing() for(uint i = 0; i < m_things.size(); ++i) { ThingPtr thing = m_things[i]; - if(!thing->isGround() && !thing->isOnBottom() && !thing->isOnTop()) { + if(!thing->isGround() && !thing->isGroundBorder() && !thing->isOnBottom() && !thing->isOnTop()) { if(i > 0 && thing->isSplash()) return m_things[i-1]; return thing;