|
| Reporter | semi | Assigned To | tvo | |
|---|
| Priority | normal | Severity | minor | Reproducibility | always |
|---|
| Status | resolved | Resolution | fixed | |
|---|
|
| Summary | 0000530: [patch] CSolidObject::GetMapPos is off by one at bottom edge and right edge |
|---|
| Description | GroundBlocking 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 Reproduce | Build 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. |
|---|
| Tags | No tags attached. |
|---|
| Attached Files | GetMapPos_semi.diff (Attachment missing)
GetMapPos_off_by_one.jpg (Attachment missing)
|
|---|
|
| Checked infolog.txt for Errors | |
|---|
|