summaryrefslogtreecommitdiff
path: root/src/mg_schematic.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-05-15 13:20:12 -0400
committerkwolekr <kwolekr@minetest.net>2015-05-15 16:20:30 -0400
commiteaef678e0b298632ef03957c7bdd8ebfe839b9d4 (patch)
tree17375ff620135b9cd2d29e7de8e4202dad81a9c0 /src/mg_schematic.cpp
parentc5b4e541749c50805519ce040d98a0a8e5e0ec03 (diff)
downloadminetest-eaef678e0b298632ef03957c7bdd8ebfe839b9d4.tar.gz
minetest-eaef678e0b298632ef03957c7bdd8ebfe839b9d4.tar.bz2
minetest-eaef678e0b298632ef03957c7bdd8ebfe839b9d4.zip
Schematics: Fix probability values for .mts version 1
Diffstat (limited to 'src/mg_schematic.cpp')
-rw-r--r--src/mg_schematic.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}