mirror of https://github.com/AxioDL/metaforce.git
CAuxWeapon: Replace always false condition with false in Fire()
Given we already check if chargeState is Normal previously, there's no way that this can also be Charged at the same time.
This commit is contained in:
parent
4ae3bca176
commit
450bcd019e
|
@ -275,7 +275,7 @@ void CAuxWeapon::Fire(float dt, bool underwater, CPlayerState::EBeamId currentBe
|
|||
attrib = CGameProjectile::GetBeamAttribType(type) | EProjectileAttrib::ComboShot;
|
||||
|
||||
if (chargeState == EChargeState::Normal) {
|
||||
LaunchMissile(dt, underwater, chargeState == EChargeState::Charged, currentBeam, attrib, xf, homingId, mgr);
|
||||
LaunchMissile(dt, underwater, false, currentBeam, attrib, xf, homingId, mgr);
|
||||
} else {
|
||||
switch (currentBeam) {
|
||||
case CPlayerState::EBeamId::Power:
|
||||
|
|
Loading…
Reference in New Issue