summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-01 11:05:50 +0200
committerErich Eckner <git@eckner.net>2017-08-01 11:05:50 +0200
commit9ddecd985f43fa613e19c0691cd3bb0825cc93c6 (patch)
treebc561e490555c881acc8e95f2484ab1c24e934f6
parente4aa773d564ee397514f5c2cfc1271ce27132245 (diff)
downloadepost-9ddecd985f43fa613e19c0691cd3bb0825cc93c6.tar.xz
werteunit.pas: bugfix Verschiebe
-rw-r--r--werteunit.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/werteunit.pas b/werteunit.pas
index 9b0d0ad..745ed68 100644
--- a/werteunit.pas
+++ b/werteunit.pas
@@ -2070,7 +2070,7 @@ begin
for imPart:=false to komplex do
for xS:=xV to xB do
for tS:=tV to tB do begin
- wert:=werte[xS+tS*xM];
+ wert:=werte[xS+(tS+byte(imPart)*tM)*xM];
xN:=xS;
tN:=tS;
repeat
@@ -2078,9 +2078,9 @@ begin
t:=tN;
xN:=(x + richtung['x']) mod xM;
tN:=(t + richtung['y']) mod tM;
- werte[x+t*xM]:=werte[xN+tN*xM];
+ werte[x+(t+byte(imPart)*tM)*xM]:=werte[xN+(tN+byte(imPart)*tM)*xM];
until (xN=xS) and (tN=tS);
- werte[x+t*xM]:=wert;
+ werte[x+(t+byte(imPart)*tM)*xM]:=wert;
end;
end;