Fix homing ring using the wrong team gametype rule

This commit is contained in:
Jaime Passos 2020-02-28 23:21:27 -03:00
parent b103a792c0
commit 51c593e633
1 changed files with 1 additions and 1 deletions

View File

@ -4986,7 +4986,7 @@ void A_ThrownRing(mobj_t *actor)
continue;
// Don't home in on teammates.
if ((gametyperules & GTR_TEAMFLAGS)
if ((gametyperules & GTR_TEAMS)
&& actor->target->player->ctfteam == player->ctfteam)
continue;
}