瀏覽代碼

Obvious fix

Tomasz Zieliński 1 年之前
父節點
當前提交
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)
 		{