diff --git a/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs b/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs index 208d0ab05d..e84e1d76aa 100644 --- a/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs +++ b/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs @@ -471,7 +471,7 @@ public virtual float GetTargetHeight(LocalTargetInfo target, Thing cover, bool r 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) + public void ShiftTarget(ShiftVecReport report, bool calculateMechanicalOnly = false, bool isInstant = false) { ShiftTarget(report, report.target.Thing?.TrueCenter() ?? report.target.Cell.ToVector3Shifted(), calculateMechanicalOnly, isInstant); } diff --git a/Source/SOS2Compat/SOS2Compat/Verb_ShootShipCE.cs b/Source/SOS2Compat/SOS2Compat/Verb_ShootShipCE.cs index 8e9aa3f1bc..5d0ab0d9aa 100644 --- a/Source/SOS2Compat/SOS2Compat/Verb_ShootShipCE.cs +++ b/Source/SOS2Compat/SOS2Compat/Verb_ShootShipCE.cs @@ -163,7 +163,7 @@ public override bool TryCastShot() projectileCE = (ShipProjectileCE)ThingMaker.MakeThing(Projectile, null); } GenSpawn.Spawn(projectileCE, shootLine.Source, caster.Map); - ShiftTarget(report, pelletMechanicsOnly, instant, midBurst); + ShiftTarget(report, pelletMechanicsOnly, instant); //New aiming algorithm projectileCE.canTargetSelf = false;