|
@@ -1359,7 +1359,7 @@ bool CGHeroInstance::hasVisions(const CGObjectInstance * target, const int subty
|
|
|
|
|
|
const int distance = target->pos.dist2d(getPosition(false));
|
|
const int distance = target->pos.dist2d(getPosition(false));
|
|
|
|
|
|
- logGlobal->debug(boost::to_string(boost::format("Visions: dist %d, mult %d, range %d") % distance % visionsMultiplier % visionsRange));
|
|
|
|
|
|
+ //logGlobal->debug(boost::to_string(boost::format("Visions: dist %d, mult %d, range %d") % distance % visionsMultiplier % visionsRange));
|
|
|
|
|
|
return (distance < visionsRange) && (target->pos.z == pos.z);
|
|
return (distance < visionsRange) && (target->pos.z == pos.z);
|
|
}
|
|
}
|