Tomasz Zieliński 1 год назад
Родитель
Сommit
916aedb13c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/rmg/RmgObject.cpp

+ 1 - 1
lib/rmg/RmgObject.cpp

@@ -309,7 +309,7 @@ const rmg::Area & Object::getBlockVisitableArea() const
 
 
 const rmg::Area & Object::getRemovableArea() const
 const rmg::Area & Object::getRemovableArea() const
 {
 {
-	if(dInstances.empty())
+	if(dRemovableAreaCache.empty())
 	{
 	{
 		for(const auto & i : dInstances)
 		for(const auto & i : dInstances)
 		{
 		{