Skip to content

Fix the attack strength in the ship designer (#41)

Phil Bordelon requested to merge (removed):fix-design-attack into master

The C ternary operator has weird binding, which means the result here was always zero or one rather than the intended values. This patch leaves some suspicious bitwise manipulation right above alone, as it is unclear as to whether that may have unintended side effects.

Merge request reports