Tomasz Zieliński пре 2 година
родитељ
комит
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
 {
-	if(dInstances.empty())
+	if(dRemovableAreaCache.empty())
 	{
 		for(const auto & i : dInstances)
 		{