From 4f591aa87a63fb54fb86a686e023259fd600b081 Mon Sep 17 00:00:00 2001 From: aap Date: Mon, 25 Jan 2021 10:30:47 +0100 Subject: ini fixes --- src/core/re3.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/re3.cpp') diff --git a/src/core/re3.cpp b/src/core/re3.cpp index ace15502..680fab2c 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -400,6 +400,8 @@ bool LoadINISettings() ReadIniIfExists("CustomPipesValues", "PostFXIntensity", &CPostFX::Intensity); #endif #ifdef EXTENDED_PIPELINES + ReadIniIfExists("CustomPipesValues", "VehiclePipeline", &CustomPipes::VehiclePipeSwitch); + ReadIniIfExists("CustomPipesValues", "WorldPipeline", &CustomPipes::WorldPipeSwitch); ReadIniIfExists("CustomPipesValues", "NeoVehicleShininess", &CustomPipes::VehicleShininess); ReadIniIfExists("CustomPipesValues", "NeoVehicleSpecularity", &CustomPipes::VehicleSpecularity); ReadIniIfExists("CustomPipesValues", "RimlightMult", &CustomPipes::RimlightMult); @@ -488,6 +490,8 @@ void SaveINISettings() StoreIni("CustomPipesValues", "PostFXIntensity", CPostFX::Intensity); #endif #ifdef EXTENDED_PIPELINES + StoreIni("CustomPipesValues", "VehiclePipeline", CustomPipes::VehiclePipeSwitch); + StoreIni("CustomPipesValues", "WorldPipeline", CustomPipes::WorldPipeSwitch); StoreIni("CustomPipesValues", "NeoVehicleShininess", CustomPipes::VehicleShininess); StoreIni("CustomPipesValues", "NeoVehicleSpecularity", CustomPipes::VehicleSpecularity); StoreIni("CustomPipesValues", "RimlightMult", CustomPipes::RimlightMult); -- cgit v1.2.3