Skip to content

Commit

Permalink
Add a comment about non-functional bot code
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman committed Mar 24, 2015
1 parent 1ce8ba0 commit f47d148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/game/ai_dmq3.c
Expand Up @@ -2876,6 +2876,7 @@ float BotEntityVisible(int viewer, vec3_t eye, vec3_t viewangles, float fov, int
BotAI_Trace(&trace, start, NULL, NULL, end, passent, contents_mask);
//if water was hit
waterfactor = 1.0;
//note: trace.contents is always 0, see BotAI_Trace
if (trace.contents & (CONTENTS_LAVA|CONTENTS_SLIME|CONTENTS_WATER)) {
//if the water surface is translucent
if (1) {
Expand Down

0 comments on commit f47d148

Please sign in to comment.