allow bots scoping & headshot

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6478 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2011-05-30 17:09:34 +00:00
parent 8beb8979a7
commit 958c8e91d8
5 changed files with 30 additions and 12 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ float CBot::ChangeAngle(float speed, float ideal, float current)
speed = diff; // just need to turn a little bit (less than max)
// check if the bot is already facing the idealpitch direction...
if (diff <= 1.0f)
if (diff <= 0.5f)
return ideal;
if ((current >= 180) && (ideal >= 180))