Core/Vmaps: Fixed getting map height near large gameobjects like LK platform

Updates #19865
This commit is contained in:
Shauren
2017-06-08 21:39:56 +02:00
parent a2c123b529
commit cfb0f9fb19
3 changed files with 28 additions and 31 deletions

View File

@@ -92,7 +92,7 @@ struct DynTreeImpl : public ParentTree/*, public Intersectable*/
void update(uint32 difftime)
{
if (!size())
if (empty())
return;
rebalance_timer.Update(difftime);
@@ -135,11 +135,6 @@ void DynamicMapTree::balance()
impl->balance();
}
int DynamicMapTree::size() const
{
return impl->size();
}
void DynamicMapTree::update(uint32 t_diff)
{
impl->update(t_diff);