ref: 4077f339e7a70fea357b047d8b6fd722b00f283b
parent: c2a82e2430748d3ddda9f6990ecf96a92dec4656
author: James Haley <haleyjd@hotmail.com>
date: Sun Mar 6 07:00:52 EST 2016
Verified change to AM_addMark logic
--- a/src/strife/am_map.c
+++ b/src/strife/am_map.c
@@ -320,11 +320,10 @@
//
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
-
}
//