1
This commit is contained in:
parent
0baf975d79
commit
66867a5b37
@ -1490,6 +1490,12 @@ void Creature::Shot(glm::vec3& target_dir, bool& shot_ok, float fly_distance, in
|
||||
} else {
|
||||
A8_ABORT();
|
||||
}
|
||||
if (GetCurrWeapon()->meta->IsMultistageGun()) {
|
||||
++power_idx;
|
||||
if (power_idx > GetCurrWeapon()->meta->_power_charge.size()) {
|
||||
power_idx = 0;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
A8_ABORT();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user