mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 22:01:01 +00:00
Zwip-Zwap's suggestion of checking for coop and types of bots
This commit is contained in:
parent
07678311d1
commit
2db0dc3ad9
1 changed files with 1 additions and 1 deletions
|
@ -1279,7 +1279,7 @@ static unsigned PIT_DoCheckThing(mobj_t *thing)
|
|||
if (tmthing->type != MT_SHELL && tmthing->target && tmthing->target->type == thing->type)
|
||||
{
|
||||
// Don't hit yourself, and if a player, don't hit bots
|
||||
if (thing == tmthing->target || (thing->player && thing->player->bot))
|
||||
if (thing == tmthing->target || (thing->player && gametype == GT_COOP && (thing->player->bot == BOT_2PAI || thing->player->bot == BOT_2PHUMAN)))
|
||||
return CHECKTHING_IGNORE;
|
||||
|
||||
if (thing->type != MT_PLAYER)
|
||||
|
|
Loading…
Reference in a new issue