View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004534 | Spring engine | AI | public | 2014-09-06 12:11 | 2014-09-06 14:43 | ||||
Reporter | lamer | ||||||||
Assigned To | jK | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 97.0.1+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004534: C++ AI Pathing::GetApproximateLength always returns 0 | ||||||||
Description | Pathing::GetApproximateLength always returns 0. Return type is int despite float declared in SSkirmishAICallback.h | ||||||||
Steps To Reproduce | Us next code inside C++ AI: springai::Pathing* pathing = callback->GetPathing(); float len = pathing->GetApproximateLength(startPoint, endPoint, pathType, 0.0f); delete pathing; | ||||||||
Additional Information | Fix with brief explanation: https://github.com/spring/spring/pull/127 Java's wrapper looks ok, but also have int instead of float (didn't check if its working). | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|