diff options
author | Erich Eckner <git@eckner.net> | 2018-08-03 15:57:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-08-03 15:57:24 +0200 |
commit | 229ddeb3d3a6c600606d3189bb30d0bd3edb0984 (patch) | |
tree | 61b96fb8dc0c730ad3cac1e91961e465a014ab62 | |
parent | 0d494aff96abf1b78b0b15297e7a1c4dcbd3dba2 (diff) | |
download | ROM-229ddeb3d3a6c600606d3189bb30d0bd3edb0984.tar.xz |
correct sign of sensor x-Position
-rw-r--r-- | romunit.pas | 2 |
1 files changed, 1 insertions, 1 deletions
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; |