View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001375 | Spring engine | General | public | 2009-04-12 04:47 | 2009-05-08 22:24 |
| Reporter | Google_Frog | Assigned To | Kloot | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 0.78.2.1 | ||||
| Fixed in Version | 0.78.2.1+git | ||||
| Summary | 0001375: Spring.IsPosInRadar Bug | ||||
| Description | Spring.IsPosInRadar seems to ignore terrain. It always returns true when inside radar range. Test widget in additional information and uploaded a screenshot. The effect is the same whether Spring.GetPositionLosState or Spring.IsPosInRadaris used. | ||||
| Additional Information | function widget:GameFrame(n) if (n%15<1) then local mx,my,mz = Spring.GetMouseState() local cType,pos = Spring.TraceScreenRay(mx,my) if (cType == "ground") then local _,_,radar = Spring.GetPositionLosState(pos[1],pos[2],pos[3],Spring.GetLocalAllyTeamID()) if radar then Spring.MarkerAddPoint( pos[1],pos[2],pos[3], "") else Spring.MarkerAddPoint( pos[1],pos[2],pos[3], "NOT RADAR") end end end end | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-04-12 04:47 | Google_Frog | New Issue | |
| 2009-04-12 04:47 | Google_Frog | File Added: screen029.jpg | |
| 2009-05-08 22:23 | Kloot | Note Added: 0003424 | |
| 2009-05-08 22:24 | Kloot | Status | new => resolved |
| 2009-05-08 22:24 | Kloot | Fixed in Version | => 0.78.2.1+git |
| 2009-05-08 22:24 | Kloot | Resolution | open => fixed |
| 2009-05-08 22:24 | Kloot | Assigned To | => Kloot |