|fs2open: trunk r11144|
|Changeset||refine the calculation of effective_primary_banks...
1) optimization from xt branch: don't calculate if we only actually have one bank on our ship
2) make sure to count the current bank that we're firing, to avoid an edge case where we might have a negative fire penalty
3) make the condition logic a little clearer
|mod - /trunk/fs2_open/code/ship/ship.cpp|