diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 5cb37b7f..aa99bb35 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -136,6 +136,7 @@ public class EffectsParser { effectModifier.min = Integer.parseInt(modValues.get(1).trim()); effectModifier.max = Integer.parseInt(modValues.get(2).trim()); effectModifier.scale = Float.parseFloat(modValues.get(3).trim()); + // Parameter 4 is always 0. effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(5).trim()); effectModifier.arg1 = modValues.get(6).trim(); case Attr: