diff --git a/Common_ONE-PF.mlpe b/Common_ONE-PF.mlpe index 2704b48..f60d224 100644 --- a/Common_ONE-PF.mlpe +++ b/Common_ONE-PF.mlpe @@ -2888,9 +2888,9 @@ end --------------------------------------------------------------------- function RollerParkingNeeded( sHead, dAng1p, dAng2p, dAng1, dAng2) if sHead == 'H11' or sHead == 'H12' or sHead == 'H17' or HeadIsChainSaw( sHead) then - return ( abs( dAng1 - dAng1p) > 1 or ( abs( dAng2 - dAng2p) > 1 and abs( dAng1 % 180.0) > 1)) + return ( abs( dAng1 - dAng1p) > 1 or ( abs( dAng2 - dAng2p) > 1 and abs( dAng1) % 180.0 > 1)) elseif sHead == 'H21' or sHead == 'H22' or HeadIsChainSaw( sHead) then - return ( abs( dAng1 - dAng1p) > 1 or ( abs( dAng2 - dAng2p) > 1 and abs( dAng1 % 180.0) > 1)) + return ( abs( dAng1 - dAng1p) > 1 or ( abs( dAng2 - dAng2p) > 1 and abs( dAng1) % 180.0 > 1)) end end diff --git a/UpdateLog.txt b/UpdateLog.txt index 63c3508..c7b91e3 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,8 @@ ==== Common_ONE-PF Update Log ==== +Versione 2.7-- (--/--/2025) +- (SIM-GEN) Corretto calcolo per decidere se serve aprire i rulli + Versione 2.7j3 (23/10/2025) - (SIM) Corretta posizione parcheggio in caso di testa 1 su magazzino 2. Ticket#2660 diff --git a/Version.lua b/Version.lua index 452a378..9eb846b 100644 --- a/Version.lua +++ b/Version.lua @@ -3,7 +3,7 @@ local InfoCommon_STD_PP = { NAME = 'Common_ONE-PF', -- nome script PP standard - VERSION = '2.7j3', -- versione script + VERSION = '2.7--', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }