1
0
Fork 0

Update for another nasal::Context change

This commit is contained in:
Thomas Geymayer 2018-01-24 07:41:13 +01:00
parent 9054a51dd3
commit 40503f3410

View file

@ -424,7 +424,7 @@ static naRef f_courseAndDistance(nasal::CallContext ctx)
double course, course2, d;
SGGeodesy::inverse(from, to, course, course2, d);
return ctx.newVector(course, d * SG_METER_TO_NM);
return ctx.to_nasal_vec(course, d * SG_METER_TO_NM);
}
static naRef f_sortByRange(nasal::CallContext ctx)