forked from mirror/DotRecast
bugfix - JumpLinkBuilder sample copy
This commit is contained in:
parent
6ac57d0b31
commit
44e6ea8368
|
@ -64,8 +64,8 @@ namespace DotRecast.Detour.Extras.Jumplink
|
|||
{
|
||||
JumpLink link = new JumpLink();
|
||||
links.Add(link);
|
||||
link.startSamples = ArrayUtils.CopyOf(es.start.gsamples, js.startSample, js.samples - js.startSample);
|
||||
link.endSamples = ArrayUtils.CopyOf(end.gsamples, js.startSample, js.samples - js.startSample);
|
||||
link.startSamples = ArrayUtils.CopyOf(es.start.gsamples, js.startSample, js.samples);
|
||||
link.endSamples = ArrayUtils.CopyOf(end.gsamples, js.startSample, js.samples);
|
||||
link.start = es.start;
|
||||
link.end = end;
|
||||
link.trajectory = es.trajectory;
|
||||
|
|
Loading…
Reference in New Issue