mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 19:38:06 -04:00
fix automap marks in non-follow mode (#1146)
This commit is contained in:
parent
ef1362f613
commit
5904a4edfd
@ -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++;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user