View Single Post
Re: v3B22 Crouch or Stand bug? bot.cpp:6860
Developer of PODBot mm
KWo's Avatar
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: v3B22 Crouch or Stand bug? bot.cpp:6860 - 03-04-2014

You have to know I'm only the currently maintaning the code (not the original author of the whole code). I have checked and that line was like that there also in the original sources I've got. So the question should be directed to the original author why did he want to limit waypoint to crouch at cover position only to those with radii less than 32? Maybe because such waypoints have really radii 16 or 0 (You can't place waypoint with radius 31) - so that means these waypoints have a better chance to be more close to some obstacle, wall and so on, so they are more predestinated to be cover waypoints. This is how I understand it - thus I don't see the problem there in the code.
Reply With Quote