Merge pull request #162 from lioncash/false

CAuxWeapon: Replace always false condition with false in Fire()
This commit is contained in:
Luke S 2020-02-25 14:42:14 -05:00 committed by GitHub
commit 83507f0226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: