fs2open: trunk r11144
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
Goober5000 | trunk | 2014-10-16 22:26 | Pending | ||
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 | Diff File |