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

View file

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