Skip to content

Commit

Permalink
Verified change to AM_addMark logic
Browse files Browse the repository at this point in the history
  • Loading branch information
haleyjd committed Mar 6, 2016
1 parent c2a82e2 commit 4077f33
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/strife/am_map.c
Expand Up @@ -320,11 +320,10 @@ void AM_restoreScaleAndLoc(void)
//
void AM_addMark(void)
{
markpoints[markpointnum].x = m_x + m_w/2;
markpoints[markpointnum].y = m_y + m_h/2;
markpoints[markpointnum].x = plr->mo->x; // 20160306 [STRIFE]: use player position
markpoints[markpointnum].y = plr->mo->y;
//markpointnum = (markpointnum + 1) % AM_NUMMARKPOINTS;
++markpointnum; // haleyjd 20141101: [STRIFE] does not wrap around

}

//
Expand Down

0 comments on commit 4077f33

Please sign in to comment.