View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000531 | Spring engine | General | public | 2007-05-02 11:14 | 2007-05-02 12:00 | ||||
Reporter | semi | ||||||||
Assigned To | tvo | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000531: [patch] CUnitHandler::ShowUnitBuildSquare incorrect handling of buildfacing | ||||||||
Description | When selecting a location for a new building, places where previously queued buildings prevent placing the new building, should show in dark green for the area that is ok and red for the area that is occupied by the previously queued building. This works ok, as long as the previously queued buildings have default buildfacing. If the previously queued building is not square and has buildfacing flipped once for 90 degrees, then hovering the new build project on top of that will show wrong graphics, having light green for the whole building where a cancel would occur, or red even where it's not over the previous building. My patch fixes this and I've tested that it works. | ||||||||
Steps To Reproduce | Pause the game, select a builder and queue a vehicle lab (or any non-square) somewhere far away from the builder (to prevent the building being initiated). Then select a wind generator from the build menu and while holding shift, hover the mouse cursor all over the previously queued vehicle lab. Notice the graphics. Then flip buildfacing once, queue another vehicle lab, and again hover over it with a wind generator. Notice the graphics, they are inconsistent with the first case. If the wind generator is over the vertical border of the vehicle lab, and just 1/3 of the wind is overlapping the lab, then 2/3 of it is red. If the wind is over the horizontal border of the lab, then it's light green in any position. | ||||||||
Additional Information | The bug is quite similar with previously fixed bug 0000508, as is the fix. The bug only seems to affect the graphics shown. A screenshot will be attached. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
tvo (reporter) 2007-05-02 12:00 |
Looks fine and assuming it works fine too => Committed. Thanks for your contribution! |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2007-05-02 11:14 | semi | New Issue | |
2007-05-02 11:14 | semi | File Added: ShowUnitBuildSquare_semi.diff | |
2007-05-02 11:14 | semi | File Added: ShowUnitBuildSquare_buildfacing_broken.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: 0000902 |