From eaef678e0b298632ef03957c7bdd8ebfe839b9d4 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Fri, 15 May 2015 13:20:12 -0400 Subject: [PATCH] Schematics: Fix probability values for .mts version 1 --- src/mg_schematic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mg_schematic.cpp b/src/mg_schematic.cpp index 81d849a66..a5ffb20b8 100644 --- a/src/mg_schematic.cpp +++ b/src/mg_schematic.cpp @@ -282,7 +282,7 @@ bool Schematic::deserializeFromMts(std::istream *is, if (version < 2) { for (size_t i = 0; i != nodecount; i++) { if (schemdata[i].param1 == 0) - schemdata[i].param1 = MTSCHEM_PROB_ALWAYS; + schemdata[i].param1 = MTSCHEM_PROB_ALWAYS_OLD; if (have_cignore && schemdata[i].getContent() == cignore) schemdata[i].param1 = MTSCHEM_PROB_NEVER; } -- 2.25.1