ioq3/code/game
Zack Middleton e4208cf5a7 Improve finding obelisk entitynum for bot AI
BotSetEntityNumForGoal() was checking all entities that are not
team_redobelisk (which is the obelisk visual entity) to find the
untitled obelisk collision entity. This may fail in rare cases where
there is an another entity within 10 units of the obelisk origin.
Failing to find the correct entity may cause bots to not attack the
obelisk.

Instead add BotSetEntityNumForGoalWithActivator() for looking for the
obelisk collision entity by activator classname (team_redobelisk) which
should be less likely to find the wrong entity.

This doesn't affect official Team Arena maps (unknown if it affects any
others).

Reversed strcmp check was reported by Thomas Köppe.
2018-09-12 16:26:39 -05:00
..
ai_chat.c Don't use uninitialized ps from BotAI_GetClientState 2017-06-07 19:02:20 -05:00
ai_chat.h * Added STATUS 2005-10-29 01:53:09 +00:00
ai_cmd.c Stop caching sv_maxclients in bot code 2017-06-07 19:00:28 -05:00
ai_cmd.h * Added STATUS 2005-10-29 01:53:09 +00:00
ai_dmnet.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
ai_dmnet.h * Added STATUS 2005-10-29 01:53:09 +00:00
ai_dmq3.c Improve finding obelisk entitynum for bot AI 2018-09-12 16:26:39 -05:00
ai_dmq3.h Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
ai_main.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
ai_main.h Fix bot's teamleader name field being too short 2014-12-04 16:50:28 -06:00
ai_team.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
ai_team.h * Added STATUS 2005-10-29 01:53:09 +00:00
ai_vcmd.c Fix more warnings 2014-09-01 13:03:06 +01:00
ai_vcmd.h * Added STATUS 2005-10-29 01:53:09 +00:00
bg_lib.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
bg_lib.h - Merge http://svn.icculus.org/tremulous?view=rev&revision=2185, patch by Chris Schwarz 2011-06-15 15:31:37 +00:00
bg_local.h Code cleanup patch by devhc 2011-02-08 18:19:31 +00:00
bg_misc.c Fix a few warnings 2014-08-30 17:29:23 +01:00
bg_pmove.c Fix GCC 6 misleading-indentation warning 2017-12-03 05:51:40 -06:00
bg_public.h Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
bg_slidemove.c Fix Coverity warning that endVelocity is uninitialized 2017-06-07 19:51:32 -05:00
chars.h http://www.angryflower.com/aposter.html 2011-02-09 05:51:33 +00:00
g_active.c Improvements for dedicated camera followers (team follow1/2) 2018-05-01 21:25:14 -05:00
g_arenas.c Bugzilla #4753 2010-10-25 06:39:11 +00:00
g_bot.c fix a few potential buffer overwrite in Game VM 2017-12-16 12:51:34 -06:00
g_client.c fix a few potential buffer overwrite in Game VM 2017-12-16 12:51:34 -06:00
g_cmds.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
g_combat.c Fix array index in CanDamage() function - discovered by MARTY 2018-04-26 11:31:07 -05:00
g_items.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
g_local.h Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
g_main.c Fix negative frag/capturelimit causing an infinite map end loop 2018-02-04 10:37:39 -06:00
g_mem.c add a missing '\n', remove some unwanted ones 2012-06-18 16:16:57 +00:00
g_misc.c Batch of bug fixes for gamecode. Patch compiled and log message written by Tobias Kuehnhammer (#5144) 2011-08-01 11:39:33 +00:00
g_missile.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
g_mover.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
g_public.h Refactoring patch by DevHC 2011-05-11 14:21:27 +00:00
g_rankings.c * Added STATUS 2005-10-29 01:53:09 +00:00
g_rankings.h * Added STATUS 2005-10-29 01:53:09 +00:00
g_session.c Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
g_spawn.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
g_svcmds.c Don't start game entity loops at index 1 2017-06-07 20:32:57 -05:00
g_syscalls.asm rename trap_Printf() to trap_Print() in the game module, as that function has nothing to do with printf()-like formatting 2012-06-19 14:51:02 +00:00
g_syscalls.c Fix native trap_BotMutateGoalFuzzyLogic 2014-03-02 22:53:15 -06:00
g_target.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
g_team.c Add score bonus for defending the flag carrier in 1 Flag CTF 2017-07-14 19:06:43 -05:00
g_team.h Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings 2011-07-29 12:27:00 +00:00
g_trigger.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
g_utils.c Silence g_util.c warning about set but not read variable 2017-07-28 17:36:20 -05:00
g_weapon.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
inv.h * Added STATUS 2005-10-29 01:53:09 +00:00
match.h * Added STATUS 2005-10-29 01:53:09 +00:00
syn.h * Added STATUS 2005-10-29 01:53:09 +00:00