1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00

VCAI little fix for typo in retreiveVisitableObjs

This commit is contained in:
ArseniyShestakov 2015-03-08 17:56:59 +03:00
parent 9ece636cf8
commit afac28a2f5

View File

@ -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);
}
});