Skip to content

Commit

Permalink
Schematics: Fix probability values for .mts version 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kwolekr committed May 15, 2015
1 parent c5b4e54 commit eaef678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mg_schematic.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit eaef678

Please sign in to comment.