1
0
Fork 0

Adapt Canvas map to changed runway/taxiway internals

This commit is contained in:
Christian Schmitt 2013-02-27 10:06:52 +01:00
parent b0db5eda5b
commit 51936dcff1

View file

@ -112,7 +112,7 @@ var Runway = {
{
var coord = geo.Coord.new();
coord.set_latlon(me.rwy.lat, me.rwy.lon);
coord.apply_course_distance(me.rwy.heading, pos - 0.5 * me.rwy.length);
coord.apply_course_distance(me.rwy.heading, pos);
if( off )
coord.apply_course_distance(me.rwy.heading + 90, off);