修复:最小距离判断错误

pull/1477/MERGE
ChenX 2 years ago
parent e878a12a2f
commit a23a853cb7

@ -290,12 +290,12 @@ export class RoomLHoleParseAndModify
if (r1.isReverse)
{
this.MaxLeftDist = wall1.Length * ranges1[0][1];
this.MinLeftDist = wall1.Length * ranges1[0][0];
this.MinLeftDist = wall1.Length * (1 - arrayLast(ranges1)[1]);
}
else
{
this.MaxLeftDist = wall1.Length * (1 - arrayLast(ranges1)[0]);
this.MinLeftDist = wall1.Length * (1 - arrayLast(ranges1)[1]);
this.MinLeftDist = wall1.Length * ranges1[0][0];
}
if (r2.isReverse)

Loading…
Cancel
Save