mirror of
https://github.com/ioquake/ioq3.git
synced 2025-04-20 23:40:47 +00:00
Restore bots crushing unseen player on q3tourney6 in non-CTF
The affect of my 2017 commit c3e64d3806
"Make bots only use q3tourney6 crusher to kill their enemy"
made it easier to beat the last map of the Quake 3 single player
campaign. It was mainly intended for CTF and Team Arena gametypes
variants of the map. (Team deathmatch is usually treated as deathmatch
with teams rather than an actual team based gametype.)
Restore original difficulty for non-CTF/Team Arena gametypes; bot will
crush player even if bot hasn't seen the player since either they or
player respawned. [This is not good in CTF where all five bots on the
team suddenly flip around and shoot at the crusher trigger.]
Team deathmatch still uses my added behavior of not triggering crusher
if there is a teammate under the crusher.
This commit is contained in:
parent
eacb83a244
commit
359db19619
1 changed files with 1 additions and 1 deletions
|
@ -3733,7 +3733,7 @@ void BotMapScripts(bot_state_t *bs) {
|
|||
shootbutton = qfalse;
|
||||
break;
|
||||
}
|
||||
else if (bs->enemy == i) {
|
||||
else if (gametype < GT_CTF || bs->enemy == i) {
|
||||
shootbutton = qtrue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue