X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fbeamgate.cpp;h=bb382ffe89c04681dd559c52ca844621229a2109;hb=0443ca05cbd306487131f5f5bd3b91181ae4a733;hp=614bce9657916152431cda52c1ce0853ba76c318;hpb=5fa009f4af8d0a2e4f52929e1ee29f5c93986ab6;p=r2c2.git diff --git a/source/libr2c2/beamgate.cpp b/source/libr2c2/beamgate.cpp index 614bce9..bb382ff 100644 --- a/source/libr2c2/beamgate.cpp +++ b/source/libr2c2/beamgate.cpp @@ -54,7 +54,7 @@ void BeamGate::update_attachment() if(track) { - TrackPoint tp = track->get_point(track.entry(), offset); + TrackPoint tp = track.point(); position = tp.pos; rotation = tp.dir; }