1
This commit is contained in:
parent
66867a5b37
commit
10e432541a
@ -1523,7 +1523,7 @@ void Player::UpdateAiming()
|
||||
if (second_weapon.meta) {
|
||||
p_weapon = &second_weapon;
|
||||
}
|
||||
if (!p_weapon->meta->_power_charge.empty()) {
|
||||
if (!p_weapon->meta->_power_charge.empty() && !GetCurrWeapon()->meta->IsMultistageGun()) {
|
||||
if (power_idx + 1 > p_weapon->meta->_power_charge.size()) {
|
||||
A8_ABORT();
|
||||
} else if (power_idx + 1 == p_weapon->meta->_power_charge.size()) {
|
||||
@ -1541,7 +1541,9 @@ void Player::UpdateAiming()
|
||||
}
|
||||
} else {
|
||||
aiming_frameno = 0;
|
||||
power_idx = -1;
|
||||
if (!GetCurrWeapon()->meta->IsMultistageGun()) {
|
||||
power_idx = -1;
|
||||
}
|
||||
if (!aiming_buffs.empty()) {
|
||||
ClearAimingBuffs();
|
||||
}
|
||||
|
@ -540,7 +540,9 @@ void InternalShot(Creature* c,
|
||||
if (c->aiming) {
|
||||
c->aiming = false;
|
||||
c->aiming_frameno = 0;
|
||||
c->power_idx = -1;
|
||||
if (!c->GetCurrWeapon()->meta->IsMultistageGun()) {
|
||||
c->power_idx = -1;
|
||||
}
|
||||
c->ClearAimingBuffs();
|
||||
}
|
||||
if (c->skill_hold_skill_id != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user