Browse Source

Obvious fix

Tomasz Zieliński 1 year ago
parent
commit
916aedb13c
1 changed files with 1 additions and 1 deletions
  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)
 		{