This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit c3c945090455553d4305dea2df35be650c6a92c9
Author: MAN-AT-ARMS <m4n4t4...@gmail.com>
Date:   Tue Mar 24 07:41:21 2015 -0400

    All: Add a comment about non-functional bot code
---
 MP/code/game/ai_dmq3.c | 1 +
 SP/code/game/ai_dmq3.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/MP/code/game/ai_dmq3.c b/MP/code/game/ai_dmq3.c
index 82ce8cb..a87adf0 100644
--- a/MP/code/game/ai_dmq3.c
+++ b/MP/code/game/ai_dmq3.c
@@ -1362,6 +1362,7 @@ float BotEntityVisible( int viewer, vec3_t eye, vec3_t 
viewangles, float fov, in
                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 ) {
diff --git a/SP/code/game/ai_dmq3.c b/SP/code/game/ai_dmq3.c
index 6c8de38..bef4664 100644
--- a/SP/code/game/ai_dmq3.c
+++ b/SP/code/game/ai_dmq3.c
@@ -1360,6 +1360,7 @@ float BotEntityVisible( int viewer, vec3_t eye, vec3_t 
viewangles, float fov, in
                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 ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to