DataBeam :

- modifiche a LongCut per TURN.
This commit is contained in:
DarioS
2022-11-29 09:22:47 +01:00
parent 58e631d899
commit 0ab2e88d77
+7 -3
View File
@@ -981,10 +981,14 @@ function ProcessLongCut.Make( Proc, nPhase, nRawId, nPartId, bCustUseBlade, nCus
for i = 1, nC do
-- Posizione braccio portatesta
local nSCC
if bFront then
nSCC = EgtIf( ( BD.C_SIMM or i == 1 or i == nC - 1), MCH_SCC.ADIR_XM, MCH_SCC.ADIR_XP)
if not BD.TURN then
if bFront then
nSCC = EgtIf( ( BD.C_SIMM or i == 1 or i == nC - 1), MCH_SCC.ADIR_XM, MCH_SCC.ADIR_XP)
else
nSCC = EgtIf( ( BD.C_SIMM or i == 1 or i == nC - 1), MCH_SCC.ADIR_XP, MCH_SCC.ADIR_XM)
end
else
nSCC = EgtIf( ( BD.C_SIMM or i == 1 or i == nC - 1), MCH_SCC.ADIR_XP, MCH_SCC.ADIR_XM)
nSCC = MCH_SCC.ADIR_ZP
end
-- ciclo sulle passate
local nO = 1