浏览代码

VCAI little fix for typo in retreiveVisitableObjs

ArseniyShestakov 10 年之前
父节点
当前提交
afac28a2f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AI/VCAI/VCAI.cpp

+ 1 - 1
AI/VCAI/VCAI.cpp

@@ -1599,7 +1599,7 @@ void VCAI::retreiveVisitableObjs()
 	{
 		for(const CGObjectInstance *obj : myCb->getVisitableObjs(pos, false))
 		{
-			if(includeOwned || obj->tempOwner != playerID)
+			if(obj->tempOwner != playerID)
 				addVisitableObj(obj);
 		}
 	});