Corretta gestione tagli testa/coda in caso di soluzione con pezzo invertito
This commit is contained in:
@@ -10,12 +10,18 @@ local Identity = {}
|
||||
---------------------------------------------------------------------
|
||||
-- Feature : Head Cut
|
||||
function Identity.IsHeadCut( Proc)
|
||||
return ( Proc.nGrp == 1 and Proc.nPrc == 340)
|
||||
local bIdentity = ( Proc.nGrp == 1 and Proc.nPrc == 340)
|
||||
local idPrc = 340
|
||||
local idGrp = 1
|
||||
return bIdentity, idPrc, idGrp
|
||||
end
|
||||
---------------------------------------------------------------------
|
||||
-- Feature : Tail Cut
|
||||
function Identity.IsTailCut( Proc)
|
||||
return ( Proc.nGrp == 2 and Proc.nPrc == 350)
|
||||
local bIdentity = ( Proc.nGrp == 2 and Proc.nPrc == 350)
|
||||
local idPrc = 350
|
||||
local idGrp = 2
|
||||
return bIdentity, idPrc, idGrp
|
||||
end
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user