Explorar o código

VCAI little fix for typo in retreiveVisitableObjs

ArseniyShestakov %!s(int64=10) %!d(string=hai) anos
pai
achega
afac28a2f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
 		}
 	});