Schematics: Fix probability values for .mts version 1

pull/2039/merge
kwolekr 2015-05-15 13:20:12 -04:00
parent c5b4e54174
commit eaef678e0b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}