From: kwolekr Date: Fri, 15 May 2015 17:20:12 +0000 (-0400) Subject: Schematics: Fix probability values for .mts version 1 X-Git-Tag: 0.4.13~271 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eaef678e0b298632ef03957c7bdd8ebfe839b9d4;p=oweals%2Fminetest.git Schematics: Fix probability values for .mts version 1 --- 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; }