Skip to content

Commit

Permalink
fix automap marks in non-follow mode (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfomin authored Jul 13, 2023
1 parent ef1362f commit 5904a4e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/am_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,17 +380,8 @@ static void AM_addMark(void)
markpointnum_max*2 : 16) * sizeof(*markpoints),
PU_STATIC, 0);

// [crispy] keep the map static if not following the player
if (!followplayer)
{
markpoints[markpointnum].x = plr->mo->x >> FRACTOMAPBITS;
markpoints[markpointnum].y = plr->mo->y >> FRACTOMAPBITS;
}
else
{
markpoints[markpointnum].x = m_x + m_w/2;
markpoints[markpointnum].y = m_y + m_h/2;
}
markpointnum++;
}

Expand Down

0 comments on commit 5904a4e

Please sign in to comment.