mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Core/Vmaps: Fixed getting map height near large gameobjects like LK platform
Updates #19865
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user