We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 119749d commit 7a765adCopy full SHA for 7a765ad
src/hv/THnaciVozidlo.pas
@@ -482,7 +482,7 @@ procedure THV.SaveState(ini:TMemIniFile);
482
str := '';
483
for i := 0 to _HV_FUNC_MAX do
484
begin
485
- if (Self.Stav.funkce[i]) then
+ if ((Self.Stav.funkce[i]) and (Self.Data.funcType[i] <> THVFuncType.momentary)) then
486
str := str + '1'
487
else
488
str := str + '0';
0 commit comments