diff --git a/src/corrupter.c b/src/corrupter.c index 8e92575..29d4c58 100644 --- a/src/corrupter.c +++ b/src/corrupter.c @@ -63,7 +63,7 @@ enum Interoperation_Result corrupt_byte(Interoperation_Input_Vars) { uint8_t probability = param->probability; for (byte bit = 0; bit < CHAR_BIT; bit++) { - if (get_chance(probability) && (damage_left > 0)) { + if (get_chance(probability) && damage_left > 0) { bit_mask[bit] = true; damage_left--; }