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

Updates #19865

(cherry picked from commit cfb0f9fb19)
This commit is contained in:
Shauren
2017-06-08 21:39:56 +02:00
parent 161bdad06c
commit a07ed72a9b
3 changed files with 28 additions and 31 deletions

View File

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