This commit is contained in:
JoelKatz
2012-02-07 14:15:08 -08:00
parent 01983330d8
commit ad61c7575f

View File

@@ -198,7 +198,7 @@ SHAMapItem::pointer SHAMap::lastBelow(SHAMapTreeNode::pointer node)
if(node->hasItem()) return node->peekItem();
bool foundNode=false;
for(int i=16; i>=0; i++)
for(int i=15; i>=0; i++)
if(!node->isEmptyBranch(i))
{
node=getNode(node->getChildNodeID(i), node->getChildHash(i), false);