From 229ddeb3d3a6c600606d3189bb30d0bd3edb0984 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 3 Aug 2018 15:57:24 +0200 Subject: correct sign of sensor x-Position --- romunit.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/romunit.pas b/romunit.pas index c3d5db7..7782814 100644 --- a/romunit.pas +++ b/romunit.pas @@ -196,7 +196,7 @@ begin blockread(f,fl,sizeof(single)); // x-Position if j=0 then begin if i=start then - cells_left:=cells_left-fl; + cells_left:=cells_left+fl; blockread(f,buff[0],sizeof(single)*steps); // fp for k:=0 to steps-1 do begin d1[k+length(d1)-steps]['x']:=(i-1+k/steps)*factor; -- cgit v1.2.3-54-g00ecf