mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-02-21 18:50:57 +00:00
Add a comment about non-functional bot code
This commit is contained in:
parent
1ce8ba0cdb
commit
f47d148b72
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue