Skip to content
Permalink
Browse files

Schematics: Fix probability values for .mts version 1

  • Loading branch information
kwolekr committed May 15, 2015
1 parent c5b4e54 commit eaef678e0b298632ef03957c7bdd8ebfe839b9d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit eaef678

Please sign in to comment.
You can’t perform that action at this time.