Fixed pretend inventory drag and drop, and random additions that might

keep us from crashing.
This commit is contained in:
phr0z3nt04st
2010-05-23 20:06:26 -05:00
parent 3d47ba81e5
commit 22469f2222
6 changed files with 205 additions and 73 deletions

View File

@@ -319,8 +319,16 @@ public:
child = getChild(i);
if (child->isInside(data->getPositionGroup()))
{
child->insert(data);
return false;
// <edit>
// tempfix, test, shitsux
//child->insert(data);
if(child->getElementCount() < LL_OCTREE_MAX_CAPACITY)
{
child->insert(data);
return false;
}
//return false;
// </edit>
}
}