From b2b50cde8734fd4d2682cd65aad2aede51616977 Mon Sep 17 00:00:00 2001 From: pongo1231 Date: Fri, 25 Aug 2023 20:12:15 +0000 Subject: [PATCH] ChaosMod: Initialize DetailedValues struct whilst parsing effect config This broke effect config evaluation without existing effects.ini AGAIN --- ChaosMod/Effects/EffectConfig.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ChaosMod/Effects/EffectConfig.h b/ChaosMod/Effects/EffectConfig.h index b32769b3b..20d8933ae 100644 --- a/ChaosMod/Effects/EffectConfig.h +++ b/ChaosMod/Effects/EffectConfig.h @@ -61,12 +61,8 @@ namespace EffectConfig union { std::array ValuesRaw; - DetailedValues Values; + DetailedValues Values {}; }; - - ConfigValues() - { - } } configValues; // HACK: Store EffectCustomName seperately std::string valueEffectName;