This is an automated email from the git hooks/post-receive script. smcv pushed a commit to tag 1.51b in repository iortcw.
commit 415827f9de29303a35cae2ff38f9c50e55a5eb3b Author: MAN-AT-ARMS <m4n4t4...@gmail.com> Date: Tue Jun 13 16:33:53 2017 -0400 All: Fix notarget cheat --- MP/code/game/ai_dmq3.c | 4 ++++ SP/code/game/ai_dmq3.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/MP/code/game/ai_dmq3.c b/MP/code/game/ai_dmq3.c index 4044cb8..d0b4526 100644 --- a/MP/code/game/ai_dmq3.c +++ b/MP/code/game/ai_dmq3.c @@ -1455,6 +1455,10 @@ int BotFindEnemy( bot_state_t *bs, int curenemy ) { if ( i == curenemy ) { continue; } + //if the enemy has targeting disabled + if (g_entities[i].flags & FL_NOTARGET) { + continue; + } // BotEntityInfo( i, &entinfo ); // diff --git a/SP/code/game/ai_dmq3.c b/SP/code/game/ai_dmq3.c index 5d0c513..8bd0c28 100644 --- a/SP/code/game/ai_dmq3.c +++ b/SP/code/game/ai_dmq3.c @@ -1453,6 +1453,10 @@ int BotFindEnemy( bot_state_t *bs, int curenemy ) { if ( i == curenemy ) { continue; } + //if the enemy has targeting disabled + if (g_entities[i].flags & FL_NOTARGET) { + continue; + } // BotEntityInfo( i, &entinfo ); // -- 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