Tomasz Zieliński %!s(int64=2) %!d(string=hai) anos
pai
achega
916aedb13c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 		{