Bug #93 ยป 0016-Fix-bombard-rate-always-being-1.patch
common/combat.c | ||
---|---|---|
if (game.info.damage_reduces_bombard_rate && base_bombard_rate > 0) {
|
||
int rate = (base_bombard_rate * punit->hp) / utype->hp;
|
||
return MIN(rate, 1);
|
||
return MAX(rate, 1);
|
||
}
|
||
return base_bombard_rate;
|