View Issue Details

IDProjectCategoryView StatusLast Update
0000530Spring engineGeneralpublic2007-05-02 12:00
Reportersemi Assigned Totvo  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000530: [patch] CSolidObject::GetMapPos is off by one at bottom edge and right edge
DescriptionGroundBlocking of a building that is built at the bottom edge or right edge of the map is off by one towards the center of the map. The graphics are at correct location, so they are inconsistent with the groundblocking.

There is a simple off by one error in CSolidObject::GetMapPos that my patch fixes and I have tested that it works.
Steps To ReproduceBuild any building as down as possible on the map, then build a perimeter camera _on_ that building touching the map edge. This should not be possible but is. Then try to build anything above that building, touching its upper edge. This is not possible, unless you leave a small gap between them, even though it should be possible. Similar process to the right edge. I'll try to attach a screenshot too.
TagsNo tags attached.
Attached Files
GetMapPos_semi.diff (Attachment missing)
GetMapPos_off_by_one.jpg (Attachment missing)
Checked infolog.txt for Errors

Activities

tvo

2007-05-02 12:00

reporter   ~0000903

Looks fine and assuming it works fine too => Committed.

Thanks for your contribution!

Issue History

Date Modified Username Field Change
2007-05-02 10:55 semi New Issue
2007-05-02 10:55 semi File Added: GetMapPos_semi.diff
2007-05-02 10:56 semi File Added: GetMapPos_off_by_one.jpg
2007-05-02 11:59 tvo Status new => assigned
2007-05-02 11:59 tvo Assigned To => tvo
2007-05-02 12:00 tvo Status assigned => resolved
2007-05-02 12:00 tvo Resolution open => fixed
2007-05-02 12:00 tvo Note Added: 0000903