Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed May 24, 2017
1 parent 13f89a4 commit e54291d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/bot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ int BotInFieldOfView(bot_t *pBot, Vector dest)
// 45 degrees to the right is the limit of the normal view angle

// rsm - START angle bug fix
int angle = std::abs((int)view_angle - (int)entity_angles.y);
int angle = abs((int)view_angle - (int)entity_angles.y);

if (angle > 180)
angle = 360 - angle;
Expand Down

0 comments on commit e54291d

Please sign in to comment.