Skip to content

Commit 8f77f3d

Browse files
olafkryusveikkos
authored andcommitted
Allow resetting wind in practice
1 parent 99320ba commit 8f77f3d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

SJ3.PAS

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,8 +1601,10 @@ begin
16011601
ch:=upcase(ch);
16021602
if (ch=#0) and (ch2=#68) then begin cupslut:=true; ch:=#27; end;
16031603
if (not cjumper) and ((kword(ch,ch2)=K[2]) or (ch=#13)) then out:=true; { liikkeelle }
1604-
if (ch=#0) and (ch2=#63) and (wcup) and (cupstyle=1) and
1605-
(index=NumPl) and (kierros=1) and (osakilpailu=1) then begin Tuuli.Alusta(windplace); end;
1604+
if (ch=#0) and (ch2=#63) and (
1605+
(treeni) or
1606+
((wcup) and (cupstyle=1) and (index=NumPl) and (kierros=1) and (osakilpailu=1))
1607+
) then begin Tuuli.Alusta(windplace); end;
16061608
if (ch=#27) then out:=true;
16071609
end;
16081610
if (cjumper) and ((random(100)=0) or (laskuri>600)) then Out:=True;
@@ -1999,7 +2001,7 @@ begin
19992001

20002002
pl:=pl+0.013;
20012003
py:=py-1;
2002-
2004+
20032005

20042006
if (kierros>0) then stats[statsvictim,osakilpailu].Reason[kierros]:=1;
20052007

0 commit comments

Comments
 (0)