From a5aae6107c8eb9ff3347b3d737133cab26b54c48 Mon Sep 17 00:00:00 2001 From: stonewall072 Date: Tue, 26 Nov 2024 11:15:59 -0500 Subject: [PATCH] Minor changes to allow Capital Missiles to switch modes instantly. --- megamek/src/megamek/common/weapons/Weapon.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/megamek/src/megamek/common/weapons/Weapon.java b/megamek/src/megamek/common/weapons/Weapon.java index 9d6b259e2a9..6ebb4c41ef2 100644 --- a/megamek/src/megamek/common/weapons/Weapon.java +++ b/megamek/src/megamek/common/weapons/Weapon.java @@ -155,13 +155,13 @@ public void adaptToGameOptions(GameOptions gOp) { } else { if (getAtClass() == WeaponType.CLASS_TELE_MISSILE) { - setInstantModeSwitch(false); + setInstantModeSwitch(true); addMode(MODE_NORMAL); addMode(MODE_CAP_MISSILE_TELE_OPERATED); } if (gOp.booleanOption(OptionsConstants.ADVAERORULES_STRATOPS_WAYPOINT_LAUNCH)) { - setInstantModeSwitch(false); + setInstantModeSwitch(true); addMode(MODE_NORMAL); addMode(MODE_CAP_MISSILE_WAYPOINT); if (gOp.booleanOption(OptionsConstants.ADVAERORULES_STRATOPS_BEARINGS_ONLY_LAUNCH)) { @@ -180,7 +180,7 @@ public void adaptToGameOptions(GameOptions gOp) { } if (gOp.booleanOption(OptionsConstants.ADVAERORULES_STRATOPS_BEARINGS_ONLY_LAUNCH)) { - setInstantModeSwitch(false); + setInstantModeSwitch(true); addMode(MODE_NORMAL); addMode(MODE_CAP_MISSILE_BEARING_EXT); addMode(MODE_CAP_MISSILE_BEARING_LONG);