View Issue Details

IDProjectCategoryView StatusLast Update
0004534Spring engineAIpublic2014-09-06 14:43
Reporterlamer Assigned TojK  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version97.0.1+git 
Summary0004534: C++ AI Pathing::GetApproximateLength always returns 0
DescriptionPathing::GetApproximateLength always returns 0.
Return type is int despite float declared in SSkirmishAICallback.h
Steps To ReproduceUs next code inside C++ AI:
springai::Pathing* pathing = callback->GetPathing();
float len = pathing->GetApproximateLength(startPoint, endPoint, pathType, 0.0f);
delete pathing;
Additional InformationFix 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).
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-09-06 12:11 lamer New Issue
2014-09-06 14:43 jK Status new => resolved
2014-09-06 14:43 jK Resolution open => fixed
2014-09-06 14:43 jK Assigned To => jK