#25, fixed waypoint sequence issue .

This commit is contained in:
Zero Fanker 2024-06-17 01:10:11 -04:00
parent 58b0de0907
commit 29caa6b9d8
2 changed files with 29 additions and 20 deletions

View file

@ -1521,8 +1521,7 @@ void CIsoView::OnMouseMove(UINT nFlags, CPoint point)
OnLButtonDown(nFlags, point);
} else if ((nFlags & MK_LBUTTON) && (nFlags & MK_SHIFT) && AD.mode == ACTIONMODE_LOWERTILE) {
OnLButtonDown(nFlags, point);
} else if ((nFlags == MK_LBUTTON) && AD.mode == ACTIONMODE_WAYPOINT) // waypoints
{
} else if ((nFlags == MK_LBUTTON) && AD.mode == ACTIONMODE_WAYPOINT) { // waypoints
if (AD.type == 1) {
//delete waypoint
int w = Map->GetWaypointAt(x + y * Map->GetIsoSize());