Browse Source

VCAI little fix for typo in retreiveVisitableObjs

ArseniyShestakov 10 years ago
parent
commit
afac28a2f5
1 changed files with 1 additions and 1 deletions
  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);
 		}
 	});