Fix flag capturing

This commit is contained in:
Lactozilla 2023-08-05 05:44:25 -03:00
parent eaed781766
commit be4dc010b8

View file

@ -4672,7 +4672,7 @@ static void P_ProcessTeamBase(player_t *player, UINT8 team)
player->gotflag &= ~teamflag;
mo->flags &= ~MF_SPECIAL;
mo->fuse = TICRATE;
mo->spawnpoint = flagpoints[team];
mo->spawnpoint = flagpoints[otherteam];
mo->flags2 |= MF2_JUSTATTACKED;
teamscores[team]++;
P_AddPlayerScore(player, 250);