mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-04 12:35:52 +00:00
Merge pull request #162 from lioncash/false
CAuxWeapon: Replace always false condition with false in Fire()
This commit is contained in:
commit
83507f0226
@ -275,7 +275,7 @@ void CAuxWeapon::Fire(float dt, bool underwater, CPlayerState::EBeamId currentBe
|
|||||||
attrib = CGameProjectile::GetBeamAttribType(type) | EProjectileAttrib::ComboShot;
|
attrib = CGameProjectile::GetBeamAttribType(type) | EProjectileAttrib::ComboShot;
|
||||||
|
|
||||||
if (chargeState == EChargeState::Normal) {
|
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 {
|
} else {
|
||||||
switch (currentBeam) {
|
switch (currentBeam) {
|
||||||
case CPlayerState::EBeamId::Power:
|
case CPlayerState::EBeamId::Power:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user