diff --git a/Source/CombatExtended/CombatExtended/Verbs/VerbCIWS.cs b/Source/CombatExtended/CombatExtended/Verbs/VerbCIWS.cs index d93303017e..fbbef8bc5d 100644 --- a/Source/CombatExtended/CombatExtended/Verbs/VerbCIWS.cs +++ b/Source/CombatExtended/CombatExtended/Verbs/VerbCIWS.cs @@ -206,7 +206,7 @@ public override bool TryFindCEShootLineFromTo(IntVec3 root, LocalTargetInfo targ resultingLine = new ShootLine(Shooter.Position, new IntVec3((int)targetPos.x, (int)y, (int)targetPos.z)); return true; } - var midBurst = numShotsFired > 0; + var midBurst = MidBurst; var ticksToSkip = (Caster as Building_TurretGunCE)?.CurrentTarget.IsValid ?? CurrentTarget.IsValid ? this.BurstWarmupTicksLeft : VerbPropsCE.warmupTime.SecondsToTicks(); var instant = projectilePropsCE.isInstant; if (instant) diff --git a/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs b/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs index 2e060cb1b6..208d0ab05d 100644 --- a/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs +++ b/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs @@ -468,7 +468,9 @@ public virtual float GetTargetHeight(LocalTargetInfo target, Thing cover, bool r } return targetHeight; } - protected virtual bool LockRotationAndAngle => numShotsFired > 0; + public bool MidBurst => numShotsFired > 0; + protected virtual bool LockRotationAndAngle => MidBurst; + public virtual void ShiftTarget(ShiftVecReport report, bool calculateMechanicalOnly = false, bool isInstant = false, bool midBurst = false) { ShiftTarget(report, report.target.Thing?.TrueCenter() ?? report.target.Cell.ToVector3Shifted(), calculateMechanicalOnly, isInstant);