From afac28a2f5672feb6a1c77fc685c3757621c864b Mon Sep 17 00:00:00 2001 From: ArseniyShestakov Date: Sun, 8 Mar 2015 17:56:59 +0300 Subject: [PATCH] VCAI little fix for typo in retreiveVisitableObjs --- AI/VCAI/VCAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AI/VCAI/VCAI.cpp b/AI/VCAI/VCAI.cpp index bd886565b..4b62eabe7 100644 --- a/AI/VCAI/VCAI.cpp +++ b/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); } });