diff --git a/eatlas_new.zmp/GetUrlScript.txt b/eatlas_new.zmp/GetUrlScript.txt index 26099de6..c0d72695 100644 --- a/eatlas_new.zmp/GetUrlScript.txt +++ b/eatlas_new.zmp/GetUrlScript.txt @@ -149,8 +149,8 @@ if GetZ>3 then strx3:=a[x3]; stry3:=a[y3]; - if px3>0 then strx3:=a[px3]+strx3; - if py3>0 then stry3:=a[py3]+stry3; + if ((px3>0) or (ppx3>0)) then strx3:=a[px3]+strx3; + if ((py3>0) or (ppy3>0)) then stry3:=a[py3]+stry3; if ppx3>0 then strx3:=a[ppx3]+strx3; if ppy3>0 then stry3:=a[ppy3]+stry3; diff --git a/megafonpro.zmp/GetUrlScript.txt b/megafonpro.zmp/GetUrlScript.txt index 26099de6..c0d72695 100644 --- a/megafonpro.zmp/GetUrlScript.txt +++ b/megafonpro.zmp/GetUrlScript.txt @@ -149,8 +149,8 @@ if GetZ>3 then strx3:=a[x3]; stry3:=a[y3]; - if px3>0 then strx3:=a[px3]+strx3; - if py3>0 then stry3:=a[py3]+stry3; + if ((px3>0) or (ppx3>0)) then strx3:=a[px3]+strx3; + if ((py3>0) or (ppy3>0)) then stry3:=a[py3]+stry3; if ppx3>0 then strx3:=a[ppx3]+strx3; if ppy3>0 then stry3:=a[ppy3]+stry3;