Opened 7 years ago

Closed 6 years ago

#4592 closed defect (fixed)

Nearest dropsite

Reported by: temple Owned by: temple
Priority: Must Have Milestone: Alpha 23
Component: UI & Simulation Keywords:
Cc: Patch: Phab:D1160

Description (last modified by temple)

Workers drop off resources at the nearest drop site, but it seems that "nearest" is calculated using the distance to the center of the drop site instead of the edge.

http://i.imgur.com/1s8JQmV.png

In the picture, it seems that the women are using the red distances to determine which dropsite is closest, but they should use the green distances.

Change History (7)

comment:1 by temple, 7 years ago

Description: modified (diff)

comment:2 by elexis, 7 years ago

Apparently wraitii's megapatch Phab:D13 fixes that

comment:3 by Itms, 7 years ago

Neat. Yeah this is definitely covered by some of wraitii's changes.

comment:4 by temple, 6 years ago

Patch at Phab:D1160. (It's not included in D13, et al.)

comment:5 by elexis, 6 years ago

Milestone: BacklogAlpha 23
Priority: Should HaveMust Have

comment:6 by Adrián Chaves, 6 years ago

Patch: Phab:D1160

comment:7 by temple, 6 years ago

Owner: set to temple
Resolution: fixed
Status: newclosed

In 20950:

Use correct distance for determining nearest dropsite
Use the distance to the nearest point on the dropsite's obstruction rather than the center of the dropsite.

Differential Revision: https://code.wildfiregames.com/D1160
Reviewed by: wraitii
Comments by: bb, elexis
Fixes: #4592

Note: See TracTickets for help on using tickets.